alerts: K3sPodCrashLooping über max_over_time (Alert flackerte zwischen Neustarts)
ci / test (push) Failing after 22s
ci / test (push) Failing after 22s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
4ac251715e
commit
09a4e44761
@@ -58,7 +58,8 @@ groups:
|
|||||||
annotations: {summary: "k3s-Knoten {{ $labels.node }} nicht bereit"}
|
annotations: {summary: "k3s-Knoten {{ $labels.node }} nicht bereit"}
|
||||||
|
|
||||||
- alert: K3sPodCrashLooping
|
- alert: K3sPodCrashLooping
|
||||||
expr: max by (namespace, pod, container) (kube_pod_container_status_waiting_reason{reason="CrashLoopBackOff"}) == 1
|
# max_over_time: zwischen zwei Neustarts steht der Container kurz nicht in CrashLoopBackOff (Test 19.10.)
|
||||||
|
expr: max by (namespace, pod, container) (max_over_time(kube_pod_container_status_waiting_reason{reason="CrashLoopBackOff"}[5m])) >= 1
|
||||||
for: 10m
|
for: 10m
|
||||||
labels: {severity: warning}
|
labels: {severity: warning}
|
||||||
annotations: {summary: "{{ $labels.namespace }}/{{ $labels.pod }} ({{ $labels.container }}) startet immer wieder neu"}
|
annotations: {summary: "{{ $labels.namespace }}/{{ $labels.pod }} ({{ $labels.container }}) startet immer wieder neu"}
|
||||||
|
|||||||
Reference in New Issue
Block a user