Monitoring of the kube cluster.

732    Asked by RobinRose in Devops , Asked on Feb 16, 2020
Answered by Ankur vaish

 One way of monitoring the kube cluster is via ELK stack, Heapster, InfluxDB & Grafana.

A two set of monitoring is required within kubernetes-

Cluster monitoring (which ensures the stability of entire cluster) and Pod monitoring (ensuring pod stability)

Various methods to follow are - Using Daemon sets (to create a special pod) which monitors the deployment of service on every pod.

Using Heapster

Monitoring via Heapster, InfluxDB and Grafana

# kubectl -f create

# kubectl edit deployment/heapster --namespace=kube-system

command:

/heapster

--source=kubernetes.summary_api:””

--sink=influxdb:http://monitoring-influxdb.kube-system.svc:8086









Dashboards shown by Garfana-


Grafana is itself an extremely flexible tool & can be combined with any specific metrics.

In the above snaps the metrics of docker and kubernetes is used, every pod within kubernetes will follow the same metric.



Your Answer

Interviews

Parent Categories