diff options
author | JoaquĆn Moreira <joaquinscript@gmail.com> | 2020-07-14 11:39:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 17:39:33 +0200 |
commit | 8260005dc7bba42d82edd8e606c10d9e7a9bb26e (patch) | |
tree | a876531f5f5015235dd05b57fb9c9b46a75f4de9 /plugins/kubectl/README.md | |
parent | 93e9b80d3ff160c7d7f5be4c2c1862da97b273dc (diff) | |
download | zsh-8260005dc7bba42d82edd8e606c10d9e7a9bb26e.tar.gz zsh-8260005dc7bba42d82edd8e606c10d9e7a9bb26e.tar.bz2 zsh-8260005dc7bba42d82edd8e606c10d9e7a9bb26e.zip |
kubectl: add alias to list pods by namespace (#8604)
Diffstat (limited to 'plugins/kubectl/README.md')
-rw-r--r-- | plugins/kubectl/README.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/kubectl/README.md b/plugins/kubectl/README.md index c0db59362..ee05a8af1 100644 --- a/plugins/kubectl/README.md +++ b/plugins/kubectl/README.md @@ -33,7 +33,8 @@ plugins=(... kubectl) | kep | `kubectl edit pods` | Edit pods from the default editor | | kdp | `kubectl describe pods` | Describe all pods | | kdelp | `kubectl delete pods` | Delete all pods matching passed arguments | -| kgpl | `kgp -l` | Get pod by label. Example: `kgpl "app=myapp" -n myns` | +| kgpl | `kgp -l` | Get pods by label. Example: `kgpl "app=myapp" -n myns` | +| kgpn | `kgp -n` | Get pods by namespace. Example: `kgpn kube-system` | | | | **Service management** | | kgs | `kubectl get svc` | List all services in ps output format | | kgsw | `kgs --watch` | After listing all services, watch for changes | |