Created
December 10, 2020 17:52
-
-
Save toksdotdev/985074e63fc17023175541b9e61bf513 to your computer and use it in GitHub Desktop.
Setup GCloud & Kubernetes environment easily
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
PROJECT_ID=boringcompany | |
GCLOUD_K8_ZONE=us-central1-c | |
GCLOUD_K8_CLUSTER=production | |
gcloud auth login | |
gcloud auth configure-docker | |
gcloud config set project $PROJECT_ID | |
gcloud container clusters get-credentials $GCLOUD_K8_CLUSTER --zone $GCLOUD_K8_ZONE --project $PROJECT_ID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment