Explorar o código

[bash] Update k8s shortcut

Colin Powell %!s(int64=3) %!d(string=hai) anos
pai
achega
500098f70d
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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() {