Question

Monitoring kubernetes cluster

Posted March 3, 2020 162 views
MonitoringKubernetes

I’d like to know how to monitor DOKS. Is build in solution enough or should I install additional software, eg. kube-state-metrics or Prometheus Operator.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hi there @rechandler,

In addition to the Basic metrics which include CPU usage, load averages, bandwidth, and disk I/O. What I could suggest here is enabling the DigitalOcean’s optional Kubernetes deployment metrics. To do that you need to install kube-state-metrics, a sidecar metrics agent that collects object state metrics from the Kubernetes API server.

You can take a look at the official documentation on how to do that here:

https://www.digitalocean.com/docs/kubernetes/how-to/monitor-advanced/

Hope that this helps!
Regards,
Bobby

Hi there!

In addition to Bobby’s answer above I would recommend the Prometheus Operator. This can be easily installed via helm chart(https://github.com/helm/charts/tree/master/stable/prometheus-operator) and it automatically deploys components like alertmanager to be able to send any pages or alerts for monitoring pretty much anything you can think of in a kubernetes cluster.

Regards,

John Kwiatkoski
Senior Developer Support Engineer - Kubernetes

Submit an Answer