Update thresholds to vet production
This commit is contained in:
parent
4fda2b22ff
commit
ba13ec0072
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
rbac:
|
||||
create: true
|
||||
|
||||
cpuThresholdMedia: 1
|
||||
cpuThresholdOther: 80
|
||||
|
||||
|
||||
kube-prometheus-stack:
|
||||
prometheus:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
rbac:
|
||||
create: true
|
||||
|
||||
cpuThresholdMedia: 65
|
||||
cpuThresholdOther: 80
|
||||
|
||||
|
||||
kube-prometheus-stack:
|
||||
prometheus:
|
||||
|
|
|
|||
Loading…
Reference in New Issue