From 9503aa7a9b91d3905f7a40343b2d7c36fc666ae9 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Mon, 3 Aug 2020 21:29:24 +0100 Subject: [PATCH] Disable default rules for the adapter --- charts/kubezero-metrics/values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/kubezero-metrics/values.yaml b/charts/kubezero-metrics/values.yaml index 8250a463..6d436c42 100644 --- a/charts/kubezero-metrics/values.yaml +++ b/charts/kubezero-metrics/values.yaml @@ -121,6 +121,7 @@ prometheus-adapter: # Basic rules for HPA to work replacing heaptster, taken from kube-prometheus project # https://github.com/coreos/kube-prometheus/blob/master/manifests/prometheus-adapter-configMap.yaml rules: + default: false resource: cpu: containerQuery: sum(rate(container_cpu_usage_seconds_total{<<.LabelMatchers>>}[3m])) by (<<.GroupBy>>)