Enable node_exporter
This commit is contained in:
parent
8f31607377
commit
3a4d0a6a90
@ -20,7 +20,7 @@ prometheus-operator:
|
|||||||
kubelet:
|
kubelet:
|
||||||
enabled: false
|
enabled: false
|
||||||
nodeExporter:
|
nodeExporter:
|
||||||
enabled: false
|
enabled: true
|
||||||
grafana:
|
grafana:
|
||||||
enabled: false
|
enabled: false
|
||||||
prometheus:
|
prometheus:
|
||||||
@ -66,7 +66,8 @@ prometheus-adapter:
|
|||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
node-role.kubernetes.io/master: ""
|
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
|
||||||
resource:
|
resource:
|
||||||
cpu:
|
cpu:
|
||||||
containerQuery: sum(irate(container_cpu_usage_seconds_total{<<.LabelMatchers>>,container!="POD",container!="",pod!=""}[5m])) by (<<.GroupBy>>)
|
containerQuery: sum(irate(container_cpu_usage_seconds_total{<<.LabelMatchers>>,container!="POD",container!="",pod!=""}[5m])) by (<<.GroupBy>>)
|
||||||
|
Loading…
Reference in New Issue
Block a user