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
36e13f48
Unverified
Commit
36e13f48
authored
Jun 15, 2019
by
Robby Russell
Committed by
GitHub
Jun 15, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Add PersistentVolumeClaim support to kubectl plugin (#7827)
Just add aliases for PVC actions.
parents
f992d434
d0e4319a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
README.md
plugins/kubectl/README.md
+6
-0
kubectl.plugin.zsh
plugins/kubectl/kubectl.plugin.zsh
+8
-0
No files found.
plugins/kubectl/README.md
View file @
36e13f48
...
@@ -90,3 +90,9 @@ plugins=(... kubectl)
...
@@ -90,3 +90,9 @@ plugins=(... kubectl)
| keno |
`kubectl edit node`
| Edit nodes resource from the default editor |
| keno |
`kubectl edit node`
| Edit nodes resource from the default editor |
| kdno |
`kubectl describe node`
| Describe node resource in detail |
| kdno |
`kubectl describe node`
| Describe node resource in detail |
| kdelno |
`kubectl delete node`
| Delete the node |
| kdelno |
`kubectl delete node`
| Delete the node |
| | |
**Persistent Volume Claim management**
|
| kgpvc |
`kubectl get pvc`
| List all PVCs |
| kgpvcw |
`kgpvc --watch`
| After listing/getting the requested object, watch for changes |
| kepvc |
`kubectl edit pvc`
| Edit pvcs from the default editor |
| kdpvc |
`kubectl describe pvc`
| Descirbe all pvcs |
| kdelpvc |
`kubectl delete pvc`
| Delete all pvcs matching passed arguments |
plugins/kubectl/kubectl.plugin.zsh
View file @
36e13f48
...
@@ -115,3 +115,11 @@ alias kgno='kubectl get nodes'
...
@@ -115,3 +115,11 @@ alias kgno='kubectl get nodes'
alias
keno
=
'kubectl edit node'
alias
keno
=
'kubectl edit node'
alias
kdno
=
'kubectl describe node'
alias
kdno
=
'kubectl describe node'
alias
kdelno
=
'kubectl delete node'
alias
kdelno
=
'kubectl delete node'
# PVC management.
alias
kgpvc
=
'kubectl get pvc'
alias
kgpvcw
=
'kgpvc --watch'
alias
kepvc
=
'kubectl edit pvc'
alias
kdpvc
=
'kubectl describe pvc'
alias
kdelpvc
=
'kubectl delete pvc'
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