Prometheus/Graphana Alerting on pod stuck in pending state Prometheus/Graphana Alerting on pod stuck in pending state kubernetes kubernetes

Prometheus/Graphana Alerting on pod stuck in pending state


- alert: KubernetesPodNotHealthyexpr: min_over_time(sum by (namespace, pod) (kube_pod_status_phase{phase=~"Pending|Unknown|Failed"})[15m:1m]) > 0for: 0mlabels:  severity: criticalannotations:  summary: Kubernetes Pod not healthy (instance {{ $labels.instance }})  description: "Pod has been in a non-ready state for longer than 15 minutes.\n  VALUE = {{ $value }}\n  LABELS = {{ $labels }}"