@@ -40,59 +40,17 @@ permissions, you need "administrator" permissions.
4040
4141To get these permissions, do the following.
4242
43- Prepare your ` ~/.kube/config ` with the following content:
44-
45- ``` yaml
46- apiVersion : v1
47- clusters :
48- - cluster :
49- certificate-authority-data :
50- server : https://
51- name : my_cluster
52- contexts :
53- - context :
54- cluster : my_cluster
55- user : my_cluster
56- name : my_cluster
57- current-context : my_cluster
58- kind : Config
59- preferences : {}
60- users :
61- - name : my_cluster
62- user :
63- username : admin
64- password :
65- ` ` `
66-
67- Click on the ` Edit` button (pencil image) next to your cluster.
68- This will lead you to the following page.
69-
70- 
71-
72- Copy the `Endpoint` IP address and paste it after `server : https://`.
73-
74- The click on `Show credentials`.
75- The following popup will appear.
76-
77- 
78-
79- Copy the `Password` and paste it after `password:`.
80-
81- Close the popup and then return to the cluster list.
82-
8343Click on ` Connect ` next to your cluster.
8444The following popup will appear.
8545
8646![ connect to cluster] ( ./gke-connect-to-cluster.png )
8747
8848Click on ` Run in Cloud Shell ` .
49+
8950It will take some time to launch a shell (in your browser).
9051
9152Once ready, run the ` gcloud ` command that is already prepare in your commandline.
9253
93- The run `cat ~/.kube/config` and copy the line that starts with `certificate-authority-data:`.
94- Override the corresponding line in your local `~/.kube.config` file.
95-
9654You should now be able to access your cluster using ` kubectl ` .
9755
9856To verify try a command like:
0 commit comments