39221643b06e5c5ee884978787b08c74de850ec2
Author Dan O'Brien <dobrien.nj@gmail.com> Committer Robby Russell <robby@planetargon.com> Date 2018-08-29 18:51 UTC
Message Add aliases for kubectl nodes (#7093)
* Add aliases for kubectl nodes
* change to have 'o' at the end.
My teammate noticed there's no namespacing shortcuts either and will be doing a PR on them with kgna.
Diff 1 diff --git a/plugins/kubectl/kubectl.plugin.zsh b/plugins/kubectl/kubectl.plugin.zsh
2 index a4a6b1b886c495e2da05cb7574b7215cc2b82b19..492e6ff00c6e2182882aca8a282608440055a2a8 100644
3 --- a/plugins/kubectl/kubectl.plugin.zsh
4 +++ b/plugins/kubectl/kubectl.plugin.zsh
5 @@ -64,3 +64,9 @@ alias kru='kubectl rollout undo'
6 # Logs
7 alias kl='kubectl logs'
8 alias klf='kubectl logs -f'
9 +
10 +# Node Management
11 +alias kgno='kubectl get nodes'
12 +alias keno='kubectl edit node'
13 +alias kdno='kubectl describe node'
14 +alias kdelno='kubectl delete node'