Google Cloud CLI (gcloud) · Kubernetes and IAM

Connect kubectl to GKE

Add a cluster's credentials to your kubeconfig.

gcloud container clusters get-credentials my-cluster --region us-central1

Official Google Cloud CLI (gcloud) documentation

More kubernetes and iam commands

All kubernetes and iam commands · Google Cloud CLI (gcloud) cheatsheet

Was this page helpful?