diff --git a/system-apps/monitoring/values.yaml b/system-apps/monitoring/values.yaml index 407dc3d..59cc720 100644 --- a/system-apps/monitoring/values.yaml +++ b/system-apps/monitoring/values.yaml @@ -27,6 +27,19 @@ kube-prometheus-stack: resources: requests: storage: 50Gi + additionalPrometheusRulesMap: + rule-name: + groups: + - name: AdditionalAlerts + rules: + - alert: ExcessiveWarnings + expr: count(ALERTS{severity="warning",alertstate="firing"}) >= 5 + for: 1m + labels: + severity: critical + annotations: + summary: Excessive 'warning' alerts are firing in the cluster + description: "{{ $value }} alerts with 'warning' severity are firing and could be a sign of catastrophic failure in the cluster" prometheusOperator: admissionWebhooks: certManager: