Sfoglia il codice sorgente

[bash] Update k8s shortcut

Colin Powell 3 anni fa
parent
commit
500098f70d
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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() {