Skip to content
Snippets Groups Projects
Unverified Commit fd63d9ea authored by Paweł Krupa's avatar Paweł Krupa Committed by GitHub
Browse files

Merge pull request #1913 from raptorsun/bugfix/udev-path

Bugfix: Set path.udev.data Argument of Node Exporter
parents 017b2aa0 b7781c19
No related branches found
No related tags found
No related merge requests found
...@@ -201,6 +201,7 @@ function(params) { ...@@ -201,6 +201,7 @@ function(params) {
'--web.listen-address=' + std.join(':', [ne._config.listenAddress, std.toString(ne._config.port)]), '--web.listen-address=' + std.join(':', [ne._config.listenAddress, std.toString(ne._config.port)]),
'--path.sysfs=/host/sys', '--path.sysfs=/host/sys',
'--path.rootfs=/host/root', '--path.rootfs=/host/root',
'--path.udev.data=/host/root/run/udev/data',
'--no-collector.wifi', '--no-collector.wifi',
'--no-collector.hwmon', '--no-collector.hwmon',
'--collector.filesystem.mount-points-exclude=' + ne._config.filesystemMountPointsExclude, '--collector.filesystem.mount-points-exclude=' + ne._config.filesystemMountPointsExclude,
......
...@@ -30,6 +30,7 @@ spec: ...@@ -30,6 +30,7 @@ spec:
- --web.listen-address=127.0.0.1:9100 - --web.listen-address=127.0.0.1:9100
- --path.sysfs=/host/sys - --path.sysfs=/host/sys
- --path.rootfs=/host/root - --path.rootfs=/host/root
- --path.udev.data=/host/root/run/udev/data
- --no-collector.wifi - --no-collector.wifi
- --no-collector.hwmon - --no-collector.hwmon
- --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|run/k3s/containerd/.+|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/) - --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|run/k3s/containerd/.+|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment