浏览代码

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 年之前
父节点
当前提交
39221643b0
共有 1 个文件被更改,包括 6 次插入0 次删除
  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'