From ba13ec00721b9ae088846a573848da0a15649752 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Thu, 8 Jan 2026 06:12:36 -0600 Subject: [PATCH] Update thresholds to vet production --- k8s/monitoring/templates/node-alerts.yaml | 4 ++-- k8s/monitoring/values-production.yaml | 3 +++ k8s/monitoring/values-staging.yaml | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/k8s/monitoring/templates/node-alerts.yaml b/k8s/monitoring/templates/node-alerts.yaml index 43ad817..930f190 100644 --- a/k8s/monitoring/templates/node-alerts.yaml +++ b/k8s/monitoring/templates/node-alerts.yaml @@ -12,11 +12,11 @@ spec: - alert: NodeHighCPU expr: | ( - (1 - avg without (cpu, mode) (rate(node_cpu_seconds_total{mode="idle", workload="media"}[1m]))) * 100 > 65 + (1 - avg without (cpu, mode) (rate(node_cpu_seconds_total{mode="idle", workload="media"}[1m]))) * 100 > {{ .Values.cpuThresholdMedia | default 65 }} ) or ( - (1 - avg without (cpu, mode) (rate(node_cpu_seconds_total{mode="idle", workload!="media"}[1m]))) * 100 > 80 + (1 - avg without (cpu, mode) (rate(node_cpu_seconds_total{mode="idle", workload!="media"}[1m]))) * 100 > {{ .Values.cpuThresholdOther | default 80 }} ) for: 1m labels: diff --git a/k8s/monitoring/values-production.yaml b/k8s/monitoring/values-production.yaml index 002bb08..1a6feb3 100644 --- a/k8s/monitoring/values-production.yaml +++ b/k8s/monitoring/values-production.yaml @@ -3,6 +3,9 @@ rbac: create: true +cpuThresholdMedia: 1 +cpuThresholdOther: 80 + kube-prometheus-stack: prometheus: diff --git a/k8s/monitoring/values-staging.yaml b/k8s/monitoring/values-staging.yaml index 0ad0fea..322e3f0 100644 --- a/k8s/monitoring/values-staging.yaml +++ b/k8s/monitoring/values-staging.yaml @@ -3,6 +3,9 @@ rbac: create: true +cpuThresholdMedia: 65 +cpuThresholdOther: 80 + kube-prometheus-stack: prometheus: