...

/

Access the Kubernetes Dashboard

Access the Kubernetes Dashboard

Learn how to get access to the Kubernetes Dashboard.

Kubernetes proxy

Besides checking the Kubernetes objects, there is one more thing that is good to verify, which is actually using the Dashboard.

In order to enter the installed Dashboard we need to use the kubectl proxy command (in the terminal at the end of this lesson):

Press + to interact
kubectl proxy --address 0.0.0.0 --accept-hosts='.*'

Now, when we enter the address (provided right under the terminal) we should get a similar screen (most probably, before that, the browser will warn us about an insecure connection, but we can ignore it):

Press + to interact
Login page to Kubernetes Dashboard
Login page to Kubernetes Dashboard

Get credentials to the Dashboard

Alright, it’s working! But how do we log in? This would require more explanation. Kubernetes Dashboard is a very powerful tool because it can not only show what’s inside a cluster but also modify it. This particular feature might make it vulnerable to potential hackers. In fact, a number of companies have experienced the same, including Tesla’s cloud infrastructure which was used by hackers for Bitcoin mining. For this reason, we need to be extremely cautious when using the Kubernetes Dashboard in the production and ...