Skip to content
Snippets Groups Projects
Commit 567ee5d5 authored by Jan David Mol's avatar Jan David Mol
Browse files

allow node exporter to see the host disk

parent fa56781c
No related branches found
No related tags found
1 merge request!6Add ipmi-exporter docker container
Pipeline #78466 passed
...@@ -12,4 +12,8 @@ services: ...@@ -12,4 +12,8 @@ services:
container_name: ${CONTAINER_NAME_PREFIX}node-exporter container_name: ${CONTAINER_NAME_PREFIX}node-exporter
network_mode: host # run on the host to be able to access host network statistics network_mode: host # run on the host to be able to access host network statistics
pid: host pid: host
volumes:
- /:/host:ro,rslave
restart: unless-stopped restart: unless-stopped
command:
- '--path.rootfs=/host'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment