mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-24 02:17:00 +08:00
parent
f3ef333a3e
commit
fd0f2805c0
1 changed files with 3 additions and 3 deletions
|
|
@ -1577,16 +1577,16 @@ groups:
|
||||||
for: 1m
|
for: 1m
|
||||||
- name: Kubernetes HPA scaling ability
|
- name: Kubernetes HPA scaling ability
|
||||||
description: Pod is unable to scale
|
description: Pod is unable to scale
|
||||||
query: 'kube_hpa_status_condition{status="false", condition="AbleToScale"} == 1'
|
query: 'kube_horizontalpodautoscaler_status_condition{status="false", condition="AbleToScale"} == 1'
|
||||||
severity: warning
|
severity: warning
|
||||||
for: 2m
|
for: 2m
|
||||||
- name: Kubernetes HPA metric availability
|
- name: Kubernetes HPA metric availability
|
||||||
description: HPA is not able to collect metrics
|
description: HPA is not able to collect metrics
|
||||||
query: 'kube_hpa_status_condition{status="false", condition="ScalingActive"} == 1'
|
query: 'kube_horizontalpodautoscaler_status_condition{status="false", condition="ScalingActive"} == 1'
|
||||||
severity: warning
|
severity: warning
|
||||||
- name: Kubernetes HPA scale capability
|
- name: Kubernetes HPA scale capability
|
||||||
description: The maximum number of desired Pods has been hit
|
description: The maximum number of desired Pods has been hit
|
||||||
query: 'kube_hpa_status_desired_replicas >= kube_hpa_spec_max_replicas'
|
query: 'kube_horizontalpodautoscaler_status_desired_replicas >= kube_horizontalpodautoscaler_spec_max_replicas'
|
||||||
severity: info
|
severity: info
|
||||||
for: 2m
|
for: 2m
|
||||||
- name: Kubernetes Pod not healthy
|
- name: Kubernetes Pod not healthy
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue