This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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=$@ ; } |