Report this

What is the reason for this report?

Monitoring kubernetes cluster

Posted on March 3, 2020

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.



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.