mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Add more kubectl aliases
* Add the alias `kd` for `kubectl describe` * Add the alias `kg` for `kubectl get`
This commit is contained in:
parent
2560f04982
commit
1ceaebb586
2 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,8 @@ 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 |
|
||||
| kg | `kubectl get` | Get resources by filenames, stdin, resources and names, or by resources and label selector |
|
||||
| kd | `kubectl describe` | Describe resources by filenames, stdin, resources and names, or by resources and label selector |
|
||||
| | | **Pod management** |
|
||||
| kgp | `kubectl get pods` | List all pods in ps output format |
|
||||
| kgpw | `kgp --watch` | After listing/getting the requested object, watch for changes |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue