Kubernetes Archives - ISbyR https://isbyr.com/tag/kubernetes/ Infrequent Smarts by Reshetnikov Wed, 23 Feb 2022 01:05:53 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 Qwiklabs – GCP Essentials – Hello Node Kubernetes – Getting the Kubernetes Dashboard Token https://isbyr.com/qwiklabs-gcp-essentials-hello-node-kubernetes-accessing-the-ui/ https://isbyr.com/qwiklabs-gcp-essentials-hello-node-kubernetes-accessing-the-ui/#respond Tue, 27 Feb 2018 11:49:34 +0000 http://isbyr.com/?p=248 The “Hello Node Kubernetes” lab went up until the point where I was supposed to browse to UI. I was required to provide the Kubernetes Dashboard Token The lab says to run the gcloud container clusters get-credentials command and then to start the proxy kubectl proxy –port 8081  after which you should be able to access … Continue reading Qwiklabs – GCP Essentials – Hello Node Kubernetes – Getting the Kubernetes Dashboard Token

The post Qwiklabs – GCP Essentials – Hello Node Kubernetes – Getting the Kubernetes Dashboard Token appeared first on ISbyR.

]]>
The “Hello Node Kubernetes” lab went up until the point where I was supposed to browse to UI. I was required to provide the Kubernetes Dashboard Token

The lab says to run the gcloud container clusters get-credentials command and then to start the proxy kubectl proxy –port 8081  after which you should be able to access the Kubernetes Dashboard UI at https://<YOUR_SPECIFIC_URL>.appspot.com/ui,

However, instead of getting the actual UI I was presented with a “Login” screen.

Kubernetes Dashboard Login screen

I am not sure whether I did something wrong or not, but you can overcome this by providing the Token.

In order to get the token open a new Cloud Shell tab and run the following command cat /home/google244648_student/.kube/config | grep access-token  (of course replace with your user’s home directory)

You will see an output similar to the below

access-token: ya29.GqMBbwUy_ilk0VFXi4pK4-MAC5q-psLmOlt31lhmjc5MkBC4PocfZW7x_-yQVuUcxezLTVwomuLPfxcI-7OVXhyf2hbxLS4IXjHxxsTV_kToVrTpSQpytM6ipPzfwtI4mU0L9G266oBnRLL5FPwb81YiU5P3gq98ViK4HIf-IVbD68WyRvUtBJrUPHTPqyddh7AG5ZUBi7pfRqKdr8PTiGgzfXIJNg

Copy the everything after “access-token: ” and paste it into the Kubernetes UI “Login” screen (don’t forget to select “Token” as the login method)

The post Qwiklabs – GCP Essentials – Hello Node Kubernetes – Getting the Kubernetes Dashboard Token appeared first on ISbyR.

]]>
https://isbyr.com/qwiklabs-gcp-essentials-hello-node-kubernetes-accessing-the-ui/feed/ 0