Monitoring master and node
During the journey of the previous recipes, you learned how to build your own cluster, run various resources, enjoy different usage scenarios, and even enhance cluster administration. Now, here comes a new level of perspective for your Kubernetes cluster. In this recipe, we are going to talk about monitoring. Through the monitoring tool, users will not only learn about the resource consumption of nodes, but also the Pods. This will help us to have greater efficiency as regards resource utilization.
Getting ready
As with earlier recipes, all you have to prepare is a healthy Kubernetes cluster. The following command, along with kubectl
, will help you to verify the status of your Kubernetes system:
// check the components $ kubectl get cs
For demonstration later, we will deploy the monitoring system on a minikube-booted
cluster. However, it works for any kind of well-installed clusters.
How to do it...
In this section, we will work on installing a monitoring system and...