Last active
October 8, 2022 09:15
-
-
Save pancudaniel7/d277d772714aa692ed121cc57404fb16 to your computer and use it in GitHub Desktop.
GCP Kubernetes cluster connect
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export DEP_PROJECT_ID=my_project | |
export DEP_ZONE=my_project_zone | |
export DEP_REGION=my_project_region | |
gcloud config set project ${DEP_PROJECT_ID} | |
gcloud config set compute/zone ${DEP_ZONE} | |
gcloud config set compute/region ${DEP_REGION} | |
gcloud container clusters get-credentials naas --region ${DEP_REGION} --project ${DEP_PROJECT_ID} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment