mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-22 01:17:19 +08:00
parent
8a31e4a4be
commit
a5f32a0fab
1 changed files with 2 additions and 1 deletions
|
|
@ -1692,8 +1692,9 @@ groups:
|
|||
for: 2m
|
||||
- name: Kubernetes Pod not healthy
|
||||
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
|
||||
for: 15m
|
||||
- name: Kubernetes pod crash looping
|
||||
description: Pod {{ $labels.pod }} is crash looping
|
||||
query: 'increase(kube_pod_container_status_restarts_total[1m]) > 3'
|
||||
|
|
|
|||
Loading…
Reference in a new issue