Monitoring with Prometheus
Description
The Kubernetes cluster contains built-in monitoring tools based on Heapster, InfluxDB time-series database, and Grafana.
As a result, the Kubernetes Dashboard displays monitoring data from both Node nodes and each individual Pod.
Advanced monitoring of Kubernetes infrastructure and all custom applications can be configured using Grafana. Every Pod that is deployed to a Kubernetes cluster will be automatically registered with Grafana. Also, with the help of Grafana, you can configure alerts about unavailability of resources.
Connection
To enter the Grafana panel, you need to establish a connection to the cluster using the command
kubectl proxy
and open the Grafana interface in a browser:
For clusters without a prometheus operator
http://127.0.0.1:8001/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy
For clusters with prometheus operator
For the first login use:
- Login: admin
- Password: admin