1
0
Fork 0
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:
Arthur Diniz 2021-09-30 22:13:11 -03:00
parent 3c209b00d6
commit 546299cbc6

View file

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