remove unnecessary config
This commit is contained in:
parent
7b5657d006
commit
c5efc5517c
|
@ -37,15 +37,12 @@ services:
|
||||||
- node.role == manager
|
- node.role == manager
|
||||||
- node.hostname == node1
|
- node.hostname == node1
|
||||||
node-exporter:
|
node-exporter:
|
||||||
container_name: node-exporter
|
|
||||||
image: prom/node-exporter
|
image: prom/node-exporter
|
||||||
volumes:
|
volumes:
|
||||||
- /proc:/host/proc:ro
|
- /proc:/host/proc:ro
|
||||||
- /sys:/host/sys:ro
|
- /sys:/host/sys:ro
|
||||||
- /:/rootfs:ro
|
- /:/rootfs:ro
|
||||||
command: '-collector.procfs=/host/proc -collector.sysfs=/host/sys -collector.filesystem.ignored-mount-points="^(/rootfs|/host|)/(sys|proc|dev|host|etc)($$|/)" collector.filesystem.ignored-fs-types="^(sys|proc|auto|cgroup|devpts|ns|au|fuse\.lxc|mqueue)(fs|)$$"'
|
command: '-collector.procfs=/host/proc -collector.sysfs=/host/sys -collector.filesystem.ignored-mount-points="^(/rootfs|/host|)/(sys|proc|dev|host|etc)($$|/)" collector.filesystem.ignored-fs-types="^(sys|proc|auto|cgroup|devpts|ns|au|fuse\.lxc|mqueue)(fs|)$$"'
|
||||||
expose:
|
|
||||||
- 9100
|
|
||||||
networks:
|
networks:
|
||||||
- back-tier
|
- back-tier
|
||||||
deploy:
|
deploy:
|
||||||
|
|
Loading…
Reference in New Issue