traefik: fix prometheusrule
This commit is contained in:
@@ -24,6 +24,16 @@ traefik:
|
||||
enabled: true
|
||||
prometheusRule:
|
||||
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:
|
||||
kind: DaemonSet
|
||||
additionalContainers:
|
||||
|
||||
Reference in New Issue
Block a user