Update rules.yml

This commit is contained in:
Samuel Berthe 2024-12-05 23:37:28 +01:00 committed by GitHub
parent 8a220b1b8a
commit 8c3d06502f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2036,7 +2036,7 @@ groups:
for: 2m
- name: Kubernetes Node out of pod capacity
description: "Node {{ $labels.node }} is out of pod capacity"
query: 'sum by (node) ((kube_pod_status_phase{phase="Running"} == 1) + on(uid) group_left(node) (0 * kube_pod_info{pod_template_hash=""})) / sum by (node) (kube_node_status_allocatable{resource="pods"}) * 100 > 90'
query: 'sum by (node) ((kube_pod_status_phase{phase="Running"} == 1) + on(uid, instance) group_left(node) (0 * kube_pod_info{pod_template_hash=""})) / sum by (node) (kube_node_status_allocatable{resource="pods"}) * 100 > 90'
severity: warning
for: 2m
- name: Kubernetes Container oom killer