Difference between revisions of "Gcloud container clusters get-credentials"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
  [[gcloud container clusters]] get-credentials
 
  [[gcloud container clusters]] get-credentials
 
  [[gcloud container clusters]] get-credentials MyClusterName
 
  [[gcloud container clusters]] get-credentials MyClusterName
 +
 +
gcloud container clusters get-credentials MyClusterName [[--zone]] [[europe-west3-b]]
 +
Fetching cluster endpoint and auth data.
 +
kubeconfig entry generated for efi.
  
  

Revision as of 11:21, 4 July 2022

gcloud container clusters get-credentials
gcloud container clusters get-credentials MyClusterName
gcloud container clusters get-credentials MyClusterName --zone europe-west3-b
Fetching cluster endpoint and auth data.
kubeconfig entry generated for efi.


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

gcloud components install gke-gcloud-auth-plugin
gcloud container clusters list

See also

Advertising: