From ef1bdd3b17cafcfb7e05ef2da7ea1fb932151e9c Mon Sep 17 00:00:00 2001 From: Vijay Dharap Date: Mon, 29 Apr 2024 17:05:51 +0530 Subject: [PATCH] Fixed HPA rule to use more correct condition --- _data/rules.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/rules.yml b/_data/rules.yml index 3dc5c15..7605477 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -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="false", condition="AbleToScale"} == 1' + query: 'kube_horizontalpodautoscaler_status_condition{status="true", condition="ScalingLimited"} == 1' severity: warning for: 2m - name: Kubernetes HPA metrics unavailability