Update kubectl.plugin.zsh (#6636)

This commit is contained in:
Serhii Kuts 2018-08-29 22:01:40 +03:00 committed by Robby Russell
parent 143cc8f901
commit 94df503863

View File

@ -31,6 +31,9 @@ alias kep='kubectl edit pods'
alias kdp='kubectl describe pods' alias kdp='kubectl describe pods'
alias kdelp='kubectl delete pods' alias kdelp='kubectl delete pods'
# get pod by label: kgpl "app=myapp" -n myns
alias kgpl='function _kgpl(){ label=$1; shift; kgp -l $label $*; };_kgpl'
# Service management. # Service management.
alias kgs='kubectl get svc' alias kgs='kubectl get svc'
alias kes='kubectl edit svc' alias kes='kubectl edit svc'
@ -61,6 +64,9 @@ alias kgrs='kubectl get rs'
alias krh='kubectl rollout history' alias krh='kubectl rollout history'
alias kru='kubectl rollout undo' alias kru='kubectl rollout undo'
# Port forwarding
alias kpf="k port-forward"
# Logs # Logs
alias kl='kubectl logs' alias kl='kubectl logs'
alias klf='kubectl logs -f' alias klf='kubectl logs -f'