Parcourir la source

[bash] Update k8s shortcut

Colin Powell il y a 3 ans
Parent
commit
500098f70d
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      bash/.bashrc

+ 2 - 1
bash/.bashrc

@@ -16,7 +16,8 @@ set-pg-env() {
 prod() {
     okta-awscli --okta-profile poweruser --profile 15five-root-poweruser
     set-sts-env 15five-root-poweruser 15five-production-poweruser
-    aws eks update-kubeconfig --name cloud100
+    aws eks update-kubeconfig --name $VPC_NAME
+    kubectl -n $VPC_NAME exec -it deployment/uvicorn-web-general -- bash
 }
 
 shuttle() {