Disable default rules for the adapter

This commit is contained in:
Stefan Reimer 2020-08-03 21:29:24 +01:00
parent a838b2c108
commit 61196f4ccc
1 changed files with 1 additions and 0 deletions

View File

@ -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>>)