Skip to content

Commit 596a0bc

Browse files
authored
Merge pull request #628 from chexxor/patch-1
Update command used to auth to kubernetes host
2 parents 1a5b9cc + 48b875e commit 596a0bc

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

src/quickstart/provider/gke/boot.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff 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

8287
If you don't have `kubectl` CLI setup just yet, run this to get it available

0 commit comments

Comments
 (0)