Commit 94df5038 authored by Serhii Kuts's avatar Serhii Kuts Committed by Robby Russell
Browse files

Update kubectl.plugin.zsh (#6636)

parent 143cc8f9
...@@ -31,6 +31,9 @@ alias kep='kubectl edit pods' ...@@ -31,6 +31,9 @@ alias kep='kubectl edit pods'
alias kdp='kubectl describe pods' alias kdp='kubectl describe pods'
alias kdelp='kubectl delete 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. # Service management.
alias kgs='kubectl get svc' alias kgs='kubectl get svc'
alias kes='kubectl edit svc' alias kes='kubectl edit svc'
...@@ -61,6 +64,9 @@ alias kgrs='kubectl get rs' ...@@ -61,6 +64,9 @@ alias kgrs='kubectl get rs'
alias krh='kubectl rollout history' alias krh='kubectl rollout history'
alias kru='kubectl rollout undo' alias kru='kubectl rollout undo'
# Port forwarding
alias kpf="k port-forward"
# Logs # Logs
alias kl='kubectl logs' alias kl='kubectl logs'
alias klf='kubectl logs -f' alias klf='kubectl logs -f'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment