Skip to content

Instantly share code, notes, and snippets.

View laszlocph's full-sized avatar

Laszlo Fogas laszlocph

View GitHub Profile
global
daemon
user haproxy
group haproxy
log /dev/log local0
maxconn 10000
pidfile /var/run/haproxy.pid
defaults
log global
# https://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
# remap prefix from 'C-b to C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# remap panes using | and -
bind | split-window -h
bind - split-window -v
@laszlocph
laszlocph / gist:354eb0d7807e711ae3ee6848d850cbf7
Created January 26, 2018 14:58
Lab-session-shell-history
: 1516725419:0;minikube status
: 1516725444:0;kubectl get nodes
: 1516725499:0;kubectl get pods
: 1516725511:0;kubectl get pods --all-namespaces
: 1516725620:0;kubectl run my-nginx --image=nginx:alpine --replicas=2 --port=80
: 1516725697:0;kubectl expose deployment my-nginx --port=80 --type=NodePort
: 1516725725:0;minikube service my-nginx
: 1516726276:0;kubectl get
image: laszlocloud/build-image
before_script:
stages:
- test
- build
- deploy
test: