Answers for "gcloud set kubectl context"

0

gcloud set kubectl context

#Assuming you have gcloud CLI installed and the default zone set
gcloud container clusters set-credentials cluster-name

#Configuring a cluster in a different zone from the default
gcloud container clusters set-crendentials cluster-name --zone=us-west1

#or

gcloud container clusters set-crendentials cluster-name --region=us-west1
Posted by: Guest on April-15-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language