How to send alerts based on Kubernetes / Docker ev

2019-04-25 16:33发布

Is it possible to somehow send alerts (to email / slack) based on events that occur within a Kubernetes cluster?

In particular, it would be useful to get an alert if a pod has restarted unexpectedly or if a pod cannot start. Similarly it would be useful to know if a pod's CPU usage was over a certain threshold and get an alert.

We have Heapster (with InfluxDB / Grafana backend) installed. While this gives useful data, it unfortunately does not provide us with alerting.

2条回答
来,给爷笑一个
2楼-- · 2019-04-25 17:16

Both sysdig and Datadog provide this functionality as well.

查看更多
女痞
3楼-- · 2019-04-25 17:35

You can check and probably replace InfluxDB with http://prometheus.io (I am not sure about your cases but generally it is possible) which has built-in metrics support.

查看更多
登录 后发表回答