Skip to content

Commit

Permalink
Update rules.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
samber authored Dec 5, 2024
1 parent 8a220b1 commit 8c3d065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _data/rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c3d065

Please sign in to comment.