Set UI dashboard on single-node Kubernetes clusters set using Kubeadm

I followed this tutorial https://kubernetes.io/docs/getting-started-guides/kubeadm/ to set up Kubernetes on Ubuntu 16.04 vServer

On this node I want to make Kubernetes Dashboard available but after creating the service through kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml I don’t know how Continue.
Unable to access the UI via https://{master-ip}/ui.

How to make the UI publicly accessible?

The easiest way is to try to run the kubectl agent on the client computer where you want to use the dashboard, Then use the browser on the same client computer to access the dashboard on http://127.0.0.1:8001.
If you want to connect via the master node ip as explained in the answer, you need to set up authentication first. See this And this.

I followed this tutorial https://kubernetes.io/docs/getting-started-guides/kubeadm/ to set up Kubernetes on Ubuntu 16.04 vServer

On this node I want to make Kubernetes Dashboard available, but after creating the service through kubectl, create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml I don’t know how to proceed.
Unable to access the UI via https: // {master-ip} / ui.

How to make the UI publicly accessible?

The easiest way is to try to run the kubectl agent on the client computer where you want to use the dashboard, and then use the browser on the same client computer to access http ://127.0.0.1:8001 on the dashboard.
If you want to connect through the master node ip as explained in the answer, you need to set up authentication first. See this and this.

Leave a Comment

Your email address will not be published.