From 155378342f1b34f8a6120ca211c69a8b02dfb16c Mon Sep 17 00:00:00 2001 From: Sergiusz Urbaniak <sergiusz.urbaniak@gmail.com> Date: Fri, 17 Aug 2018 12:35:00 +0200 Subject: [PATCH] kube-prometheus: generate manifests Signed-off-by: Sergiusz Urbaniak <sergiusz.urbaniak@gmail.com> --- manifests/node-exporter-daemonset.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/manifests/node-exporter-daemonset.yaml b/manifests/node-exporter-daemonset.yaml index f7c9ebb5..e63ae15c 100644 --- a/manifests/node-exporter-daemonset.yaml +++ b/manifests/node-exporter-daemonset.yaml @@ -19,6 +19,8 @@ spec: - --web.listen-address=127.0.0.1:9101 - --path.procfs=/host/proc - --path.sysfs=/host/sys + - --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+)($|/) + - --collector.filesystem.ignored-fs-types=^(autofs|binfmt_misc|cgroup|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|sysfs|tracefs)$ image: quay.io/prometheus/node-exporter:v0.15.2 name: node-exporter resources: @@ -35,6 +37,10 @@ spec: - mountPath: /host/sys name: sys readOnly: false + - mountPath: /host/root + mountPropagation: HostToContainer + name: root + readOnly: true - args: - --secure-listen-address=:9100 - --upstream=http://127.0.0.1:9101/ @@ -69,3 +75,6 @@ spec: - hostPath: path: /sys name: sys + - hostPath: + path: /root + name: root -- GitLab