mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-27 08:10:08 +00:00
Add alias for kubectls dry-run flag
This commit is contained in:
parent
86f805280f
commit
ede3619cd0
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,10 @@ alias kcgc='kubectl config get-contexts'
|
||||||
alias kdel='kubectl delete'
|
alias kdel='kubectl delete'
|
||||||
alias kdelf='kubectl delete -f'
|
alias kdelf='kubectl delete -f'
|
||||||
|
|
||||||
|
# Dry runs
|
||||||
|
alias kdr='kubectl --dry-run=client'
|
||||||
|
alias kdrs='kubectl --dry-run=server'
|
||||||
|
|
||||||
# Pod management.
|
# Pod management.
|
||||||
alias kgp='kubectl get pods'
|
alias kgp='kubectl get pods'
|
||||||
alias kgpa='kubectl get pods --all-namespaces'
|
alias kgpa='kubectl get pods --all-namespaces'
|
||||||
|
|
Loading…
Reference in a new issue