diff --git a/jsonnet/kube-prometheus/components/node-exporter.libsonnet b/jsonnet/kube-prometheus/components/node-exporter.libsonnet index 1452174aa6f351034c3fb35365189aa221699036..462e06b651dbaa5c89b5b258f1b7548e6bbd235c 100644 --- a/jsonnet/kube-prometheus/components/node-exporter.libsonnet +++ b/jsonnet/kube-prometheus/components/node-exporter.libsonnet @@ -180,7 +180,7 @@ function(params) { '--path.rootfs=/host/root', '--no-collector.wifi', '--no-collector.hwmon', - '--collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)', + '--collector.filesystem.mount-points-exclude=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)', // NOTE: ignore veth network interface associated with containers. // OVN renames veth.* to <rand-hex>@if<X> where X is /sys/class/net/<if>/ifindex // thus [a-z0-9] regex below diff --git a/manifests/node-exporter-daemonset.yaml b/manifests/node-exporter-daemonset.yaml index 69e14810cf1b9711a4dd9288fb32443097b2de59..be81a9b5f7a8b7c123a92a9c8e22f355b0d2e732 100644 --- a/manifests/node-exporter-daemonset.yaml +++ b/manifests/node-exporter-daemonset.yaml @@ -29,7 +29,7 @@ spec: - --path.rootfs=/host/root - --no-collector.wifi - --no-collector.hwmon - - --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/) + - --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/) - --collector.netclass.ignored-devices=^(veth.*|[a-f0-9]{15})$ - --collector.netdev.device-exclude=^(veth.*|[a-f0-9]{15})$ image: quay.io/prometheus/node-exporter:v1.2.2