From ccf23f54eafa82d7d5b3d4d4a1307b992f80d70a Mon Sep 17 00:00:00 2001 From: Kaustubh Phatak Date: Wed, 2 Dec 2026 06:24:59 -0800 Subject: [PATCH] feat(kubectl): add `kgnow` alias to watch nodes (#14321) Co-authored-by: Claude Opus 5.5 --- plugins/kubectl/README.md | 1 + plugins/kubectl/kubectl.plugin.zsh | 1 + 2 files changed, 2 insertions(+) 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'