mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-04-21 17:21:41 +00:00
Merge 91e0a94e8951d470d731a76c847d7d7a5af68281 into 1de190e4391ce6c2fbe2bdf0025104cf3cb98231
This commit is contained in:
commit
05ae8428ae
@ -26,6 +26,9 @@ plugins=(... kubectl)
|
|||||||
| | | **General aliases** |
|
| | | **General aliases** |
|
||||||
| kdel | `kubectl delete` | Delete resources by filenames, stdin, resources and names, or by resources and label selector |
|
| 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 |
|
| kdelf | `kubectl delete -f` | Delete a pod using the type and name specified in -f argument |
|
||||||
|
| kg | `kubectl get` | Display one or many resources |
|
||||||
|
| ke | `kubectl edit` | Edit a resource on the server |
|
||||||
|
| kd | `kubectl describe` | Show details of a specific resource or group of resources |
|
||||||
| | | **Pod management** |
|
| | | **Pod management** |
|
||||||
| kgp | `kubectl get pods` | List all pods in ps output format |
|
| kgp | `kubectl get pods` | List all pods in ps output format |
|
||||||
| kgpl | `kgp -l` | Get pods by label. Example: `kgpl "app=myapp" -n myns` |
|
| kgpl | `kgp -l` | Get pods by label. Example: `kgpl "app=myapp" -n myns` |
|
||||||
|
@ -36,6 +36,9 @@ alias kcgc='kubectl config get-contexts'
|
|||||||
# General aliases
|
# General aliases
|
||||||
alias kdel='kubectl delete'
|
alias kdel='kubectl delete'
|
||||||
alias kdelf='kubectl delete -f'
|
alias kdelf='kubectl delete -f'
|
||||||
|
alias kg='kubectl get'
|
||||||
|
alias ke='kubectl edit'
|
||||||
|
alias kd='kubectl describe'
|
||||||
|
|
||||||
# Pod management.
|
# Pod management.
|
||||||
alias kgp='kubectl get pods'
|
alias kgp='kubectl get pods'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user