From 9eb0319ebad4de3f49c9e6b4a3ff67b7dca9337b Mon Sep 17 00:00:00 2001 From: ANGkeith Date: Fri, 15 Dec 2023 23:27:09 +0800 Subject: [PATCH] [kube-prometheus-stack] inhibit InfoInhibitor alerts by default (#3964) Signed-off-by: ANGkeith --- charts/kube-prometheus-stack/values.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/kube-prometheus-stack/values.yaml b/charts/kube-prometheus-stack/values.yaml index fb3a69ddb946..1f47a6615bbf 100644 --- a/charts/kube-prometheus-stack/values.yaml +++ b/charts/kube-prometheus-stack/values.yaml @@ -311,6 +311,8 @@ alertmanager: - 'severity = info' equal: - 'namespace' + - target_matchers: + - 'alertname = InfoInhibitor' route: group_by: ['namespace'] group_wait: 30s @@ -320,7 +322,7 @@ alertmanager: routes: - receiver: 'null' matchers: - - alertname =~ "InfoInhibitor|Watchdog" + - alertname = "Watchdog" receivers: - name: 'null' templates: