Update rules.yml

This commit is contained in:
Samuel Berthe 2024-05-13 11:10:41 +02:00 committed by GitHub
parent ef1bdd3b17
commit 4a2359119c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1878,7 +1878,7 @@ groups:
for: 1m
- name: Kubernetes HPA scale inability
description: HPA {{ $labels.namespace }}/{{ $labels.horizontalpodautoscaler }} is unable to scale
query: 'kube_horizontalpodautoscaler_status_condition{status="true", condition="ScalingLimited"} == 1'
query: '(kube_horizontalpodautoscaler_spec_max_replicas - kube_horizontalpodautoscaler_status_desired_replicas) * on (horizontalpodautoscaler,namespace) (kube_horizontalpodautoscaler_status_condition{condition="ScalingLimited", status="true"} == 1) == 0'
severity: warning
for: 2m
- name: Kubernetes HPA metrics unavailability