diff --git a/prometheus-node-exporter/templates/bin/_node-exporter.sh.tpl b/prometheus-node-exporter/templates/bin/_node-exporter.sh.tpl index 2827d5a46..7b268d690 100644 --- a/prometheus-node-exporter/templates/bin/_node-exporter.sh.tpl +++ b/prometheus-node-exporter/templates/bin/_node-exporter.sh.tpl @@ -28,4 +28,7 @@ exec /bin/node_exporter \ {{- if .Values.conf.collectors.filesystem.ignored_mount_points }} --collector.filesystem.ignored-mount-points={{ .Values.conf.collectors.filesystem.ignored_mount_points }} \ {{- end }} + {{- if .Values.conf.collectors.filesystem.rootfs_mount_point }} + --path.rootfs={{ .Values.conf.collectors.filesystem.rootfs_mount_point }} \ + {{- end }} --collector.ntp.server={{ .Values.conf.ntp_server_ip }} diff --git a/prometheus-node-exporter/values.yaml b/prometheus-node-exporter/values.yaml index dfeeb0f99..9acac03e5 100644 --- a/prometheus-node-exporter/values.yaml +++ b/prometheus-node-exporter/values.yaml @@ -17,7 +17,7 @@ --- images: tags: - node_exporter: docker.io/prom/node-exporter:v0.15.0 + node_exporter: docker.io/prom/node-exporter:v0.18.1 dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0 image_repo_sync: docker.io/docker:17.07.0 pull_policy: IfNotPresent @@ -160,4 +160,5 @@ conf: directory: /var/log/node-exporter-vfstats filesystem: ignored_mount_points: + rootfs_mount_point: ...