How can I monitor my pods running on Kubernetes?

8/6/2019

Is it possible to monitor or to get mails alerts while a pod in down? How to set the alert?

-- Niladri Dey
devops
kubernetes
monitoring

2 Answers

8/6/2019

It depends if you want to use open source apps or you want to use paid software for monitoring and alerting.

As @FL3SH advised most used software to monitor and sending alerts is Prometheus and Alertmanager. This solution have many tutorials online "how to", for example this one.

However there are many other paid software to monitor your cluster/pods, alert you, create history diagrams etc. (like datadog, sysdig, Dynatrace) or mixed solutions (like Prometheus and Grafana, cAdvisor, Kibana, etc.) For more information you can check this article.

Please note that each cloud provider offers some specific monitoring features.

-- PjoterS
Source: StackOverflow

8/6/2019

Yes, it possible you have to setup Prometheus with Alertmanager.

I recommend using prometheus-operato as an easier way to start with monitoring.

-- FL3SH
Source: StackOverflow