mirror of https://github.com/knative/docs.git
Remove unnecessary step from GKE cluster setup. (#428)
This commit is contained in:
parent
90cc9d760f
commit
a93e410f58
|
|
@ -61,14 +61,6 @@ To use a k8s cluster running in GKE:
|
||||||
gcloud components install kubectl
|
gcloud components install kubectl
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Give your gcloud user cluster-admin privileges:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
kubectl create clusterrolebinding gcloud-admin-binding \
|
|
||||||
--clusterrole=cluster-admin \
|
|
||||||
--user=$(gcloud config get-value core/account)
|
|
||||||
```
|
|
||||||
|
|
||||||
1. Add to your .bashrc:
|
1. Add to your .bashrc:
|
||||||
```shell
|
```shell
|
||||||
# When using GKE, the K8s user is your GCP user.
|
# When using GKE, the K8s user is your GCP user.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue