1
0
Fork 0
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:
Christoph Ebeling 2021-01-06 13:00:20 +01:00
parent 86f805280f
commit ede3619cd0

View file

@ -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'