Skip to content

Instantly share code, notes, and snippets.

Avatar

Matias Forbord codeluggage

View GitHub Profile
@codeluggage
codeluggage / services.yml
Created Jul 24, 2017
Full Kubernetes Nginx Service
View services.yml
apiVersion: v1
kind: Service
metadata:
name: nginx
annotations:
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: “https”
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: “arn:aws:iam::ABCDE:server-certificate/www_yourwebsite_com”
service.beta.kubernetes.io/aws-load-balancer-ssl-ports: “443”
service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled: “true”
service.beta.kubernetes.io/aws-load-balancer-connection-draining-timeout: “60”
@codeluggage
codeluggage / services.yml
Created Jul 24, 2017
Kubernetes Nginx Loadbalancer Service
View services.yml
annotations:
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: “https”
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: “arn:aws:iam::ABCDE:server-certificate/www_yourwebsite_com”
service.beta.kubernetes.io/aws-load-balancer-ssl-ports: “443”
service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled: “true”
service.beta.kubernetes.io/aws-load-balancer-connection-draining-timeout: “60”
@codeluggage
codeluggage / .zshrc
Last active Apr 10, 2018
Somewhat sensible .zshrc for those using Oh-My-Zsh, iTerm2, Android Studio, Xcode, and general git work.
View .zshrc
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="robbyrussell"
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"