Question

Monitoring kubernetes cluster

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.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

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