소스 검색

[bash] Update k8s shortcut

Colin Powell 3 년 전
부모
커밋
500098f70d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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() {