mirror of https://github.com/knative/docs.git
Command group name has to be `clusters` instead of `cluster` for (step 5); the `get-credentials` sample command (#1125)
Failed with group name `cluster`: ``` ± |master ✓| → gcloud container cluster get-credentials ssuresh-knative-dev ERROR: (gcloud.container) Invalid choice: 'cluster'. Did you mean 'clusters'? Usage: gcloud container [optional flags] <group | command> group may be builds | clusters | images | node-pools | operations command may be get-server-config For detailed information on this command and its flags, run: gcloud container --help ``` Works with group name `clusters`: ``` ± |master ✓| → gcloud container clusters get-credentials ssuresh-knative-dev Fetching cluster endpoint and auth data. kubeconfig entry generated for ssuresh-knative-dev. ```
This commit is contained in:
parent
9b8ed3a237
commit
ea0bba0954
|
@ -60,7 +60,7 @@ To use a k8s cluster running in GKE:
|
|||
|
||||
```shell
|
||||
# Load credentials for the new cluster in us-east1-d
|
||||
gcloud container cluster get-credentials --zone us-east1-d knative-demo
|
||||
gcloud container clusters get-credentials --zone us-east1-d knative-demo
|
||||
```
|
||||
|
||||
1. If you haven't installed `kubectl` yet, you can install it now with
|
||||
|
|
Loading…
Reference in New Issue