摘要: 前提:k8s集群中已正确部署了prometheus和alertmanager。 在prometheus中已经预先定义了很多告警项。当然,我们也可以自定义告警内容。本文以自定义容器的内存和CPU用量告警为例。 一、创建Prometheusrule Prometheusrule是Prometheus在部 阅读全文
posted @ 2020-05-06 15:19 右威卫大将军 阅读(1164) 评论(0) 推荐(0) 编辑