如何基于Kubernetes/Docker事件发送警报? [英] How to send alerts based on Kubernetes / Docker events?
本文介绍了如何基于Kubernetes/Docker事件发送警报?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以基于Kubernetes集群中发生的事件以某种方式发送警报(通过电子邮件/闲置)?
Is it possible to somehow send alerts (to email / slack) based on events that occur within a Kubernetes cluster?
特别是,如果容器已意外重新启动或如果容器无法启动,则收到警报将很有用.同样,知道容器的CPU使用率是否超过某个阈值并获得警报也很有用.
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.
我们已经安装了Heapster(带有InfluxDB/Grafana后端).尽管这提供了有用的数据,但不幸的是它没有为我们提供警报.
We have Heapster (with InfluxDB / Grafana backend) installed. While this gives useful data, it unfortunately does not provide us with alerting.
推荐答案
这篇关于如何基于Kubernetes/Docker事件发送警报?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文