Browse Source

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.
Dan O'Brien 5 years ago
parent
commit
39221643b0
1 changed files with 6 additions and 0 deletions
  1. 6 0
      plugins/kubectl/kubectl.plugin.zsh

+ 6 - 0
plugins/kubectl/kubectl.plugin.zsh

@@ -64,3 +64,9 @@ alias kru='kubectl rollout undo'
 # Logs
 alias kl='kubectl logs'
 alias klf='kubectl logs -f'
+
+# Node Management
+alias kgno='kubectl get nodes'
+alias keno='kubectl edit node'
+alias kdno='kubectl describe node'
+alias kdelno='kubectl delete node'