Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
94df5038
Commit
94df5038
authored
Aug 29, 2018
by
Serhii Kuts
Committed by
Robby Russell
Aug 29, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update kubectl.plugin.zsh (#6636)
parent
143cc8f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
kubectl.plugin.zsh
plugins/kubectl/kubectl.plugin.zsh
+6
-0
No files found.
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