kubectl plugin; added alias to get pods from all namespaces

This commit is contained in:
kim 2019-05-14 13:55:53 +02:00
commit 827e0e3824
2 changed files with 2 additions and 0 deletions

View file

@ -27,6 +27,7 @@ plugins=(... kubectl)
| kdelf | `kubectl delete -f` | Delete a pod using the type and name specified in -f argument |
| | | **Pod management** |
| kgp | `kubectl get pods` | List all pods in ps output format |
| kgpa | `kubectl get pods --all-namespaces` | List all pods of all namespaces in ps output format |
| kgpw | `kgp --watch` | After listing/getting the requested object, watch for changes |
| kgpwide | `kgp -o wide` | Output in plain-text format with any additional information. For pods, the node name is included |
| kep | `kubectl edit pods` | Edit pods from the default editor |