kubernetes short commands with little bit intuitive alias
alias kndel="'$MYDIR/k8s-delete.sh'"
alias kndes="'$MYDIR/k8s-describe.sh'"
alias knexec="'$MYDIR/k8s-exec.sh'"
alias knget="'$MYDIR/k8s-get-pods.sh'"
alias knlogs="'$MYDIR/k8s-logs.sh'"
alias knport="'$MYDIR/k8s-port-forward.sh'"
alias knImageUpdate="'$MYDIR/k8s-image-update.sh'"
kndel
will assist to delete resouceskndes
will assist to get description of a resouces (pod/ing/svc/deploy etc)knexec
will assist to exec into a podknget
will assist to get resources list (pods/deploy/ing/svc etc)knlogs
will assist to get logs of a podknport
will assist to forward port of a service or podknImageUpdate
will assist to change deployment images
Just include alias.sh
into your shell profile(ie. .zshrc
/ .bashrc
/ .bash_profile
etc )