mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 08:57:19 +08:00
Merge pull request #152 from nabilbendafi/master
feat(kubernetes): add Out of capacity
This commit is contained in:
commit
5f6127f35a
1 changed files with 4 additions and 0 deletions
|
|
@ -1051,6 +1051,10 @@ groups:
|
|||
description: "{{ $labels.node }} has OutOfDisk condition"
|
||||
query: 'kube_node_status_condition{condition="OutOfDisk",status="true"} == 1'
|
||||
severity: critical
|
||||
- name: Kubernetes out of capacity
|
||||
description: "{{ $labels.node }} is out of capacity"
|
||||
query: 'sum(kube_pod_info) by (node) / sum(kube_node_status_allocatable_pods) by (node) * 100 > 90'
|
||||
severity: warning
|
||||
- name: Kubernetes Job failed
|
||||
description: "Job {{$labels.namespace}}/{{$labels.exported_job}} failed to complete"
|
||||
query: "kube_job_status_failed > 0"
|
||||
|
|
|
|||
Loading…
Reference in a new issue