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]] | ||
Fetching cluster endpoint and auth data. | Fetching cluster endpoint and auth data. | ||
− | + | kubeconfig entry generated for MyClusterName. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 32: | Line 14: | ||
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 == | ||
− | + | [[gcloud components install gke-gcloud-auth-plugin]] | |
− | + | [[gcloud container clusters list]] | |
− | + | [[kubectl get pods]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == |
Advertising: