mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-27 08:10:08 +00:00
Add kubectl horizontal pod autoscaler alias
Signed-off-by: Arthur Diniz <arthurbdiniz@gmail.com>
This commit is contained in:
parent
3c209b00d6
commit
546299cbc6
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,9 @@ alias kdp='kubectl describe pods'
|
||||||
alias kdelp='kubectl delete pods'
|
alias kdelp='kubectl delete pods'
|
||||||
alias kgpall='kubectl get pods --all-namespaces -o wide'
|
alias kgpall='kubectl get pods --all-namespaces -o wide'
|
||||||
|
|
||||||
|
# Horizontal Pod Autoscaler
|
||||||
|
alias kghpa='kubectl get hpa'
|
||||||
|
|
||||||
# get pod by label: kgpl "app=myapp" -n myns
|
# get pod by label: kgpl "app=myapp" -n myns
|
||||||
alias kgpl='kgp -l'
|
alias kgpl='kgp -l'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue