diff --git a/k8s/monitoring/templates/node-alerts.yaml b/k8s/monitoring/templates/node-alerts.yaml index c1ea9f9..09ad5ea 100644 --- a/k8s/monitoring/templates/node-alerts.yaml +++ b/k8s/monitoring/templates/node-alerts.yaml @@ -10,10 +10,10 @@ spec: - name: node.alerts rules: - alert: NodeHighCPU - expr: (1 - avg without (cpu, mode) (rate(node_cpu_seconds_total{mode="idle"}[1m]))) * 100 > 20 + expr: (1 - avg without (cpu, mode) (rate(node_cpu_seconds_total{mode="idle"}[1m]))) * 100 > 1 for: 1m labels: severity: warning annotations: summary: "High CPU usage on node {{ "{{" }} $labels.instance {{ "}}" }}" - description: "Node {{ "{{" }} $labels.instance {{ "}}" }} has CPU usage above 20% (current value: {{ "{{" }} $value | printf \"%.2f\" {{ "}}" }}%)" + description: "Node {{ "{{" }} $labels.instance {{ "}}" }} has CPU usage above 1% (current value: {{ "{{" }} $value | printf \"%.2f\" {{ "}}" }}%)"