← GKE38 / 640
hardgcloud

Fetch kubeconfig credentials to enable kubectl access to a GKE cluster

command

gcloud container clusters get-credentials CLUSTER_NAME --zone ZONE

also accepted

gcloud container clusters get-credentialsgcloud container clusters get-credentials CLUSTER_NAME

Test your recall — not just your reading.

Practice with interactive quiz →