mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-29 04:53:17 +02:00
Update kubectl.plugin.zsh
This commit is contained in:
parent
37c2d0ddd7
commit
41b6f050d9
1 changed files with 6 additions and 0 deletions
|
|
@ -25,6 +25,9 @@ alias kep='k edit pods'
|
|||
alias kdp='k describe pods'
|
||||
alias kdelp='k 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='k get svc'
|
||||
alias kes='k edit svc'
|
||||
|
|
@ -48,3 +51,6 @@ alias krsd='k rollout status deployment'
|
|||
alias kgrs='k get rs'
|
||||
alias krh='k rollout history'
|
||||
alias kru='k rollout undo'
|
||||
|
||||
# Port forwarding
|
||||
alias kpf="k port-forward"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue