sfdad
This commit is contained in:
parent
0af60dbeee
commit
04863ab6f3
1 changed files with 3 additions and 1 deletions
|
|
@ -196,11 +196,13 @@ services:
|
|||
# ============================================================
|
||||
node-exporter:
|
||||
image: prom/node-exporter:latest
|
||||
hostname: "{{.Node.Hostname}}"
|
||||
environment:
|
||||
TZ: America/Chicago
|
||||
command:
|
||||
- --path.rootfs=/host
|
||||
- --collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)
|
||||
- --collector.textfile.directory=/host/etc/node-exporter
|
||||
volumes:
|
||||
- /:/host:ro,rslave
|
||||
networks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue