From 5e84329360910284677db5fc50a1d05f808b963c Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Mon, 16 Jan 2023 00:37:38 +0100 Subject: [PATCH] Update rules.yml --- _data/rules.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_data/rules.yml b/_data/rules.yml index 4a88822..893d3ab 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -1709,10 +1709,9 @@ groups: severity: info for: 2m - name: Kubernetes HPA underutilized - description: HPA is constantly at minimum replicas for 50% of the time + description: HPA is constantly at minimum replicas for 50% of the time. Potential cost saving here. query: 'max(quantile_over_time(0.5, kube_horizontalpodautoscaler_status_desired_replicas[1d]) == kube_horizontalpodautoscaler_spec_min_replicas) by (horizontalpodautoscaler) > 3' # allow minimum 3 replicas running severity: info - for: 5m - name: Kubernetes Pod not healthy description: Pod has been in a non-ready state for longer than 15 minutes. query: 'sum by (namespace, pod) (kube_pod_status_phase{phase=~"Pending|Unknown|Failed"}) > 0'