Disable default rules for the adapter
This commit is contained in:
parent
c0587f6fdf
commit
9503aa7a9b
@ -121,6 +121,7 @@ prometheus-adapter:
|
|||||||
# Basic rules for HPA to work replacing heaptster, taken from kube-prometheus project
|
# 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
|
# https://github.com/coreos/kube-prometheus/blob/master/manifests/prometheus-adapter-configMap.yaml
|
||||||
rules:
|
rules:
|
||||||
|
default: false
|
||||||
resource:
|
resource:
|
||||||
cpu:
|
cpu:
|
||||||
containerQuery: sum(rate(container_cpu_usage_seconds_total{<<.LabelMatchers>>}[3m])) by (<<.GroupBy>>)
|
containerQuery: sum(rate(container_cpu_usage_seconds_total{<<.LabelMatchers>>}[3m])) by (<<.GroupBy>>)
|
||||||
|
Loading…
Reference in New Issue
Block a user