From e85de7655267165243e657c6fd1db2a5216b896e Mon Sep 17 00:00:00 2001 From: Seth Call Date: Sat, 13 Dec 2025 23:31:41 -0600 Subject: [PATCH] Let's see if this causes the alert --- k8s/monitoring/values-production.yaml | 10 ++++++++++ k8s/monitoring/values-staging.yaml | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/k8s/monitoring/values-production.yaml b/k8s/monitoring/values-production.yaml index 684a48a..b29af28 100644 --- a/k8s/monitoring/values-production.yaml +++ b/k8s/monitoring/values-production.yaml @@ -65,6 +65,16 @@ kube-prometheus-stack: values: - monitoring # Its own namespace - webrtc-be # Your app's namespace + # Enable discovery of PrometheusRules in these namespaces + ruleNamespaceSelector: + matchExpressions: + - key: kubernetes.io/metadata.name + operator: In + values: + - monitoring + - webrtc-be + ruleSelector: + matchExpressions: [] # Match all rules in selected namespaces # Add the manual scrape configuration additionalScrapeConfigs: - job_name: 'node-exporter' diff --git a/k8s/monitoring/values-staging.yaml b/k8s/monitoring/values-staging.yaml index bd648f5..9c06be1 100644 --- a/k8s/monitoring/values-staging.yaml +++ b/k8s/monitoring/values-staging.yaml @@ -65,6 +65,16 @@ kube-prometheus-stack: values: - monitoring # Its own namespace - webrtc-be # Your app's namespace + # Enable discovery of PrometheusRules in these namespaces + ruleNamespaceSelector: + matchExpressions: + - key: kubernetes.io/metadata.name + operator: In + values: + - monitoring + - webrtc-be + ruleSelector: + matchExpressions: [] # Match all rules in selected namespaces # Add the manual scrape configuration additionalScrapeConfigs: - job_name: 'node-exporter'