Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
94df5038
Commit
94df5038
authored
Aug 29, 2018
by
Serhii Kuts
Committed by
Robby Russell
Aug 29, 2018
Browse files
Update kubectl.plugin.zsh (#6636)
parent
143cc8f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/kubectl/kubectl.plugin.zsh
View file @
94df5038
...
...
@@ -31,6 +31,9 @@ alias kep='kubectl edit pods'
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'
# Service management.
alias
kgs
=
'kubectl get svc'
alias
kes
=
'kubectl edit svc'
...
...
@@ -61,6 +64,9 @@ alias kgrs='kubectl get rs'
alias
krh
=
'kubectl rollout history'
alias
kru
=
'kubectl rollout undo'
# Port forwarding
alias
kpf
=
"k port-forward"
# Logs
alias
kl
=
'kubectl logs'
alias
klf
=
'kubectl logs -f'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment