Understanding the Kubernetes dashboard
In the previous recipe, we learned how to start and stop our local single-node Kubernetes cluster. We call it a single-node cluster because it will just have one Kubernetes node configured. So all the containers that you deploy are going to be deployed on this single Kubernetes node. Kubernetes comes with a sophisticated web UI. The web UI acts as an administration console for your cluster. You can perform almost all operations that you can with kubectl
, on the web UI. In fact, you could also monitor the resource utilization of your cluster from the web UI. In this recipe, we are going to get familiar with the Kubernetes dashboard so that we can easily manage our microservice on any Kubernetes cluster.
Getting ready
The first thing you need to know is the URL to the Kubernetes UI dashboard. One way to do that is identifying the IP of your
minikube
VM and use the default Kubernetes dashboard port,30000
.To find the IP of your
minikube
VM, run the following...