Changement des raccourcis kubes pour automatiquement lister les pods à
la connexionmain
parent
91443dc8c1
commit
6f52f2fbb9
|
|
@ -17,8 +17,8 @@ alias k="kubectl"
|
||||||
alias kns="kubens"
|
alias kns="kubens"
|
||||||
alias kctx="kubectx"
|
alias kctx="kubectx"
|
||||||
alias fluxUp="flux reconcile source git flux-system"
|
alias fluxUp="flux reconcile source git flux-system"
|
||||||
alias kprod="export AWS_PROFILE='production' && aws sso login && aws eks update-kubeconfig --region eu-west-1 --name rfidprod-production"
|
alias kprod="export AWS_PROFILE='production' && aws sso login && aws eks update-kubeconfig --region eu-west-1 --name rfidprod-production && kubens production && kubectl get po"
|
||||||
alias kstage="export AWS_PROFILE='staging' && aws sso login && aws eks update-kubeconfig --region eu-west-1 --name rfidprod-staging"
|
alias kstage="export AWS_PROFILE='staging' && aws sso login && aws eks update-kubeconfig --region eu-west-1 --name rfidprod-staging && kubens preprod && kubectl get po"
|
||||||
|
|
||||||
# Open a port forward session to a remote Kubernetes deployment
|
# Open a port forward session to a remote Kubernetes deployment
|
||||||
# @param {string} $1 Deployment name
|
# @param {string} $1 Deployment name
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue