kubectl: add statefulset aliases (#7826)

This commit is contained in:
Jason Schwerberg
2019-06-15 11:49:33 -07:00
committed by Marc Cornellà
parent fb43df128f
commit c105c04b6b
2 changed files with 19 additions and 0 deletions

View File

@@ -96,6 +96,16 @@ alias kgrs='kubectl get rs'
alias krh='kubectl rollout history'
alias kru='kubectl rollout undo'
# Statefulset management.
alias kgss='kubectl get statefulset'
alias kgssw='kgss --watch'
alias kgsswide='kgss -o wide'
alias kess='kubectl edit statefulset'
alias kdss='kubectl describe statefulset'
alias kdelss='kubectl delete statefulset'
alias ksss='kubectl scale statefulset'
alias krsss='kubectl rollout status statefulset'
# Port forwarding
alias kpf="kubectl port-forward"