gcloud container clusters get-credentials

From wikieduonline
Revision as of 09:19, 8 August 2022 by Sun (talk | contribs)
Jump to navigation Jump to search

gcloud container clusters get-credentials
gcloud container clusters get-credentials MyClusterName
gcloud container clusters get-credentials MyClusterName --zone europe-west3-b
gcloud container clusters get-credentials MyClusterName --region europe-west3-c
gcloud container clusters get-credentials MyClusterName --zone europe-west3-b
Fetching cluster endpoint and auth data.
kubeconfig entry generated for MyClusterName.
kubectl config get-contexts


Errors

gcloud container clusters get-credentials
ERROR: (gcloud.container.clusters.get-credentials) argument NAME: Must be specified.
Usage: gcloud container clusters get-credentials NAME [optional flags]
  optional flags may be  --help | --internal-ip | --region | --zone 

For detailed information on this command and its flags, run:
  gcloud container clusters get-credentials --help

Related

See also

Advertising: