feat(plugins/kubectl): add kdpa alias

This commit is contained in:
Jeremy Delgado 2024-10-18 14:55:45 +02:00
parent 4ada154190
commit 4b2869374d
2 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ plugins=(... kubectl)
| kgpwide | `kgp -o wide` | Output in plain-text format with any additional information. For pods, the node name is included | | 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 | | kep | `kubectl edit pods` | Edit pods from the default editor |
| kdp | `kubectl describe pods` | Describe all pods | | kdp | `kubectl describe pods` | Describe all pods |
| kdpa | `kubectl describe pods --all-namespaces` | Describe all pods targeting all namespaces |
| kdelp | `kubectl delete pods` | Delete all pods matching passed arguments | | kdelp | `kubectl delete pods` | Delete all pods matching passed arguments |
| | | **Service management** | | | | **Service management** |
| kgs | `kubectl get svc` | List all services in ps output format | | kgs | `kubectl get svc` | List all services in ps output format |

View File

@ -47,6 +47,7 @@ alias kgpw='kgp --watch'
alias kgpwide='kgp -o wide' alias kgpwide='kgp -o wide'
alias kep='kubectl edit pods' alias kep='kubectl edit pods'
alias kdp='kubectl describe pods' alias kdp='kubectl describe pods'
alias kdpa='kubectl describe pods --all-namespaces'
alias kdelp='kubectl delete pods' alias kdelp='kubectl delete pods'
alias kgpall='kubectl get pods --all-namespaces -o wide' alias kgpall='kubectl get pods --all-namespaces -o wide'