Fixed HPA rule to use more correct condition

This commit is contained in:
Vijay Dharap 2024-04-29 17:05:51 +05:30 committed by GitHub
parent 6b05a59ad9
commit ef1bdd3b17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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