Commit d0244d1f authored by torgiren's avatar torgiren Committed by torgiren
Browse files

add non-schedulable pods alert - closes #115

Signed-off-by: torgiren's avatarMarcin Fabrykowski <git@fabrykowski.pl>
1 merge request!41add non-schedulable pods alert - closes #115
Pipeline #862 passed with stages
in 50 seconds
Showing with 14 additions and 0 deletions
+14 -0
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
name: prometheus-rules-pods
namespace: prometheus-system
labels:
prometheus: example
role: alert-rules
spec:
groups:
- name: ./pods.rules
rules:
- alert: non schedulable pods
expr: kube_pod_status_phase{phase!="Running",phase!="Succeeded"} >0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment