mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-24 18:36:59 +08:00
parent
8a31e4a4be
commit
a5f32a0fab
1 changed files with 2 additions and 1 deletions
|
|
@ -1692,8 +1692,9 @@ groups:
|
||||||
for: 2m
|
for: 2m
|
||||||
- name: Kubernetes Pod not healthy
|
- name: Kubernetes Pod not healthy
|
||||||
description: Pod has been in a non-ready state for longer than 15 minutes.
|
description: Pod has been in a non-ready state for longer than 15 minutes.
|
||||||
query: 'min_over_time(sum by (namespace, pod) (kube_pod_status_phase{phase=~"Pending|Unknown|Failed"})[15m:1m]) > 0'
|
query: 'sum by (namespace, pod) (kube_pod_status_phase{phase=~"Pending|Unknown|Failed"}) > 0'
|
||||||
severity: critical
|
severity: critical
|
||||||
|
for: 15m
|
||||||
- name: Kubernetes pod crash looping
|
- name: Kubernetes pod crash looping
|
||||||
description: Pod {{ $labels.pod }} is crash looping
|
description: Pod {{ $labels.pod }} is crash looping
|
||||||
query: 'increase(kube_pod_container_status_restarts_total[1m]) > 3'
|
query: 'increase(kube_pod_container_status_restarts_total[1m]) > 3'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue