From 3a4d0a6a908d3c35037f1a798080b564d7c47e9b Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Mon, 3 Aug 2020 13:16:48 +0100 Subject: [PATCH] Enable node_exporter --- charts/kubezero-metrics/values.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/kubezero-metrics/values.yaml b/charts/kubezero-metrics/values.yaml index ebdff4a3..4f1768d5 100644 --- a/charts/kubezero-metrics/values.yaml +++ b/charts/kubezero-metrics/values.yaml @@ -20,7 +20,7 @@ prometheus-operator: kubelet: enabled: false nodeExporter: - enabled: false + enabled: true grafana: enabled: false prometheus: @@ -66,7 +66,8 @@ prometheus-adapter: effect: NoSchedule nodeSelector: 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: cpu: containerQuery: sum(irate(container_cpu_usage_seconds_total{<<.LabelMatchers>>,container!="POD",container!="",pod!=""}[5m])) by (<<.GroupBy>>)