Fix scopt for adapter rules
This commit is contained in:
parent
56d20b0683
commit
1f6aaf308f
@ -118,6 +118,7 @@ prometheus-adapter:
|
||||
node-role.kubernetes.io/master: ""
|
||||
# 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:
|
||||
resource:
|
||||
cpu:
|
||||
containerQuery: sum(rate(container_cpu_usage_seconds_total{<<.LabelMatchers>>}[3m])) by (<<.GroupBy>>)
|
||||
|
Loading…
Reference in New Issue
Block a user