mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
kubectl: add README (#7258)
This commit is contained in:
parent
3320658f30
commit
313d3c3fe2
2 changed files with 90 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ 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'
|
||||
alias kgpl='kgp -l'
|
||||
|
||||
# Service management.
|
||||
alias kgs='kubectl get svc'
|
||||
|
|
@ -104,4 +104,4 @@ alias kcp='kubectl cp'
|
|||
alias kgno='kubectl get nodes'
|
||||
alias keno='kubectl edit node'
|
||||
alias kdno='kubectl describe node'
|
||||
alias kdelno='kubectl delete node'
|
||||
alias kdelno='kubectl delete node'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue