Update README.md

This commit is contained in:
NanoNova 2025-03-25 22:44:14 +08:00 committed by GitHub
parent b8a4ceb3f0
commit 9a7c0a6c22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,7 @@ plugins=(... kubectl)
| | | **General aliases** |
| kdel | `kubectl delete` | Delete resources by filenames, stdin, resources and names, or by resources and label selector |
| kdelf | `kubectl delete -f` | Delete a pod using the type and name specified in -f argument |
| kdelk | `kubectl delete -k` | Delete all resources defined in the kustomization |
| kdelk | `kubectl delete -k` | Delete all resources defined in a kustomization directory |
| | | **Pod management** |
| kgp | `kubectl get pods` | List all pods in ps output format |
| kgpl | `kgp -l` | Get pods by label. Example: `kgpl "app=myapp" -n myns` |