gfdds
This commit is contained in:
parent
71e3177f13
commit
9f9ca1ada7
1 changed files with 5 additions and 1 deletions
|
|
@ -164,9 +164,9 @@ services:
|
|||
# ============================================================
|
||||
cadvisor:
|
||||
image: gcr.io/cadvisor/cadvisor:latest
|
||||
hostname: "{{.Node.Hostname}}"
|
||||
environment:
|
||||
TZ: America/Chicago
|
||||
hostname: "{{.Node.Hostname}}"
|
||||
command:
|
||||
- --docker_only=true
|
||||
- --store_container_labels=false
|
||||
|
|
@ -195,13 +195,17 @@ services:
|
|||
# ============================================================
|
||||
node-exporter:
|
||||
image: prom/node-exporter:latest
|
||||
hostname: "{{.Node.Hostname}}"
|
||||
environment:
|
||||
TZ: America/Chicago
|
||||
NODE_HOSTNAME: "{{.Node.Hostname}}"
|
||||
command:
|
||||
- --path.rootfs=/host
|
||||
- --collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)
|
||||
- --collector.textfile.directory=/etc/node-exporter
|
||||
volumes:
|
||||
- /:/host:ro,rslave
|
||||
- /etc/hostname:/etc/hostname:ro
|
||||
networks:
|
||||
- netgrimoire
|
||||
deploy:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue