This commit is contained in:
marco.verleun 2021-04-30 15:10:12 +02:00
parent c87732377a
commit 898fc84f69

View file

@ -1549,7 +1549,7 @@ groups:
- name: Kubernetes Pod OOM killed - name: Kubernetes Pod OOM killed
description: Pod {{ $labels.pod }} in namespace {{ $labels.namespace }} is OOMKilled description: Pod {{ $labels.pod }} in namespace {{ $labels.namespace }} is OOMKilled
query: kube_pod_container_status_last_terminated_reason{reason="OOMKilled"} > 0 query: kube_pod_container_status_last_terminated_reason{reason="OOMKilled"} > 0
severity: Critical severity: critical
- name: Kubernetes Pod not healthy - name: Kubernetes Pod not healthy
description: Pod has been in a non-ready state for longer than an hour. description: Pod has been in a non-ready state for longer than an hour.
query: 'min_over_time(sum by (namespace, pod) (kube_pod_status_phase{phase=~"Pending|Unknown|Failed"})[1h:]) > 0' query: 'min_over_time(sum by (namespace, pod) (kube_pod_status_phase{phase=~"Pending|Unknown|Failed"})[1h:]) > 0'