Disable default rules for the adapter
This commit is contained in:
parent
a838b2c108
commit
61196f4ccc
|
@ -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>>)
|
||||
|
|
Loading…
Reference in New Issue