|
@@ -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 |
|