1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00

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 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'