mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
added details about kcn and kres
This commit is contained in:
parent
2596aef866
commit
d8c71bbce1
2 changed files with 3 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ alias kgns='kubectl get namespaces'
|
|||
alias kens='kubectl edit namespace'
|
||||
alias kdns='kubectl describe namespace'
|
||||
alias kdelns='kubectl delete namespace'
|
||||
alias kcn='kubectl config set-context $(kubectl config current-context) --namespace' #change namespace
|
||||
alias kcn='kubectl config set-context $(kubectl config current-context) --namespace'
|
||||
|
||||
# ConfigMap management
|
||||
alias kgcm='kubectl get configmaps'
|
||||
|
|
@ -81,7 +81,6 @@ alias kdd='kubectl describe deployment'
|
|||
alias kdeld='kubectl delete deployment'
|
||||
alias ksd='kubectl scale deployment'
|
||||
alias krsd='kubectl rollout status deployment'
|
||||
# Recreate all pods in deployment with zero-downtime
|
||||
kres(){
|
||||
kubectl set env $@ REFRESHED_AT=$(date +%Y%m%d%H%M%S)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue