Update kubectl.plugin.zsh (#6636)
This commit is contained in:
parent
143cc8f901
commit
94df503863
|
@ -31,6 +31,9 @@ alias kep='kubectl edit pods'
|
|||
alias kdp='kubectl describe 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.
|
||||
alias kgs='kubectl get svc'
|
||||
alias kes='kubectl edit svc'
|
||||
|
@ -61,6 +64,9 @@ alias kgrs='kubectl get rs'
|
|||
alias krh='kubectl rollout history'
|
||||
alias kru='kubectl rollout undo'
|
||||
|
||||
# Port forwarding
|
||||
alias kpf="k port-forward"
|
||||
|
||||
# Logs
|
||||
alias kl='kubectl logs'
|
||||
alias klf='kubectl logs -f'
|
||||
|
|
Loading…
Reference in a new issue