File tree Expand file tree Collapse file tree
src/quickstart/provider/gke Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,11 +72,16 @@ If you haven't configured your default zone, make sure it matches the ZONE for y
7272$ gcloud config set compute/zone us-central1-b
7373```
7474
75- Now you may fetch Kubernetes credentials:
75+ Now you may fetch credentials to connect to Kubernetes :
7676```
77- $ gcloud container clusters get-credentials cluster-1
78- Fetching cluster endpoint and auth data.
79- kubeconfig entry generated for cluster-1.
77+ $ gcloud auth application-default login
78+ Your browser has been opened to visit:
79+ https://accounts.google.com/o/oauth2/auth?redirect_uri=....
80+
81+ Credentials saved to file: [~/.config/gcloud/application_default_credentials.json]
82+
83+ These credentials will be used by any library that requests
84+ Application Default Credentials.
8085```
8186
8287If you don't have ` kubectl ` CLI setup just yet, run this to get it available
You can’t perform that action at this time.
0 commit comments