Editing Gcloud container clusters get-credentials
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | |||
− | |||
[[gcloud container clusters]] get-credentials | [[gcloud container clusters]] get-credentials | ||
− | [[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 [[--zone]] [[europe-west3-b]] | ||
gcloud container clusters get-credentials MyClusterName [[--region]] [[europe-west3-c]] | gcloud container clusters get-credentials MyClusterName [[--region]] [[europe-west3-c]] | ||
− | |||
− | |||
− | |||
gcloud container clusters get-credentials MyClusterName [[--zone]] [[europe-west3-b]] | gcloud container clusters get-credentials MyClusterName [[--zone]] [[europe-west3-b]] | ||
Fetching cluster endpoint and auth data. | Fetching cluster endpoint and auth data. | ||
[[kubeconfig]] entry generated for MyClusterName. | [[kubeconfig]] entry generated for MyClusterName. | ||
− | |||
− | |||
− | |||
− | |||
== Errors == | == Errors == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
gcloud container clusters get-credentials | gcloud container clusters get-credentials | ||
ERROR: (gcloud.container.clusters.get-credentials) argument NAME: Must be specified. | ERROR: (gcloud.container.clusters.get-credentials) argument NAME: Must be specified. | ||
Line 32: | Line 17: | ||
For detailed information on this command and its flags, run: | For detailed information on this command and its flags, run: | ||
− | + | gcloud container clusters get-credentials --help | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related == | == Related == | ||
Line 52: | Line 24: | ||
* <code>[[kubectl get pods]]</code> | * <code>[[kubectl get pods]]</code> | ||
* <code>[[aws eks update-kubeconfig --name my-eks-cluster-name]]</code> | * <code>[[aws eks update-kubeconfig --name my-eks-cluster-name]]</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == |
Advertising: