Kubernetes Dashboard is a web-based Kubernetes user interface. You can use Dashboard to deploy containerized applications to a Kubernetes cluster, troubleshoot your containerized application, and manage the cluster resources. You can use Dashboard to get an overview of applications running on your cluster, as well as for creating or modifying individual Kubernetes resources (such as Deployments, Jobs, DaemonSets, etc). For example, you can scale a Deployment, initiate a rolling update, restart a pod or deploy new applications using a deploy wizard. for more check this

For more details, check official page here.

Minikube doesn’t have K8S Dashboard by default, but installation is very straight forward, details and screenshots below.

You need to start MiniKube first 🙂

MiniKube has a quick command that makes installing Kubernetes dashboard the easiest. Not only this but to proxy the requests to your local machine and opens it in your browser.

Now you can manage Kubernetes throught your web browser.

If you close the browser, you will need to run Minikube dashboard command again to make the proxy mapping.

If you want to make permanent port mapping you will need to create a service and map it to port 9090 as dashboard deployment (pods within) is published on that port

This can be easily done by kubectl command as below:

1- Delete existing port mapping (Service)

kubectl delete service kubernetes-dashboard -n kube-system

2- Expose deployment to external port

kubectl expose deployment kubernetes-dashboard  --type=LoadBalancer -n kube-system

3- list the service details to know the external port for Kubernetes Dashboard

kubectl get service kubernetes-dashboard -n kube-system

Now open the browser and type the following http://<minikube IP>:<exposed port>

Mahmoud Ibrahim (admin)

About the Author

Mahmoud Ibrahim has technology experience with over 18 years of IT industry. He'd worked in many organizations in many roles and expanded his knowledge across technology stacks, and he is enjoying sharing his expertise whenever possible :).
He is working as a presales expert in Micro Focus serving the international community.

View all posts by Mahmoud Ibrahim (admin)
Previous Article
Next Article