traefik: fix prometheusrule
This commit is contained in:
@@ -24,6 +24,16 @@ traefik:
|
|||||||
enabled: true
|
enabled: true
|
||||||
prometheusRule:
|
prometheusRule:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
rules:
|
||||||
|
- alert: TraefikDown
|
||||||
|
expr: up{job="traefik"} == 0
|
||||||
|
for: 5m
|
||||||
|
labels:
|
||||||
|
context: traefik
|
||||||
|
severity: warning
|
||||||
|
annotations:
|
||||||
|
summary: "Traefik Down"
|
||||||
|
description: "{{ $labels.pod }} on {{ $labels.nodename }} is down"
|
||||||
deployment:
|
deployment:
|
||||||
kind: DaemonSet
|
kind: DaemonSet
|
||||||
additionalContainers:
|
additionalContainers:
|
||||||
|
|||||||
Reference in New Issue
Block a user