diff --git a/plugins/kubectl/README.md b/plugins/kubectl/README.md index 95ef190fd..0da3c73bd 100644 --- a/plugins/kubectl/README.md +++ b/plugins/kubectl/README.md @@ -113,6 +113,7 @@ plugins=(... kubectl) | | | **Node management** | | kgno | `kubectl get nodes` | List the nodes in ps output format | | kgnosl | `kubectl get nodes --show-labels` | List the nodes in ps output format with labels | +| kgnow | `kubectl get nodes --watch` | List the nodes, then watch for status changes (e.g. Ready/NotReady, cordoned, added or removed) | | keno | `kubectl edit node` | Edit nodes resource from the default editor | | kdno | `kubectl describe node` | Describe node resource in detail | | kdelno | `kubectl delete node` | Delete the node | diff --git a/plugins/kubectl/kubectl.plugin.zsh b/plugins/kubectl/kubectl.plugin.zsh index d19ab07b4..f64f58ada 100644 --- a/plugins/kubectl/kubectl.plugin.zsh +++ b/plugins/kubectl/kubectl.plugin.zsh @@ -157,6 +157,7 @@ alias kcp='kubectl cp' # Node Management alias kgno='kubectl get nodes' alias kgnosl='kubectl get nodes --show-labels' +alias kgnow='kubectl get nodes --watch' alias keno='kubectl edit node' alias kdno='kubectl describe node' alias kdelno='kubectl delete node'