【发布时间】:2020-09-09 21:32:38
【问题描述】:
我尝试抑制警报,因此严重的相同警报可以抑制警告警报。 以下配置不起作用...请提出此配置的问题..
inhibit_rules:
- source_match:
alertname: Inhibit
severity: critical
target_match:
severity: warning
alertname: KubePodNotReady
equal: ['alertname', 'namespace', 'pod', 'prometheus']
inhibit_rules:
- source_match:
severity: 'critical'
target_match:
severity: 'warning'
equal: ['alertname', 'namespace', 'pod','prometheus']
【问题讨论】: