Skip to content

Instantly share code, notes, and snippets.

View tamas-molnar's full-sized avatar

Tamás Molnár tamas-molnar

View GitHub Profile
@tamas-molnar
tamas-molnar / kubectl-shortcuts.sh
Last active May 9, 2024 05:45
aliases and shortcuts for kubectl
alias kc='kubectl'
alias kclf='kubectl logs --tail=200 -f'
alias kcgs='kubectl get service -o wide'
alias kcgd='kubectl get deployment -o wide'
alias kcgp='kubectl get pod -o wide'
alias kcgn='kubectl get node -o wide'
alias kcdp='kubectl describe pod'
alias kcds='kubectl describe service'
alias kcdd='kubectl describe deployment'
alias kcdf='kubectl delete -f'
@tamas-molnar
tamas-molnar / fleetctl-shortcuts
Last active August 3, 2016 11:33
aliases and shortcuts
alias fc='fleetctl'
alias fclm='fleetctl list-machines'
alias fclu='fleetctl list-units'
alias fcjf='fleetctl journal -f '
alias fcbad='fleetctl list-units | grep -v "exited\|running\|backup\|upgrade"'
function fclmg() { fleetctl list-machines | grep $@ ;}
function fclug() { fleetctl list-units | grep $@ ;}
function fcssh() { fleetctl ssh $@ ;}
function fcjfl() { fleetctl journal -f --lines=$@ ; }