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:
|
cadvisor:
|
||||||
image: gcr.io/cadvisor/cadvisor:latest
|
image: gcr.io/cadvisor/cadvisor:latest
|
||||||
|
hostname: "{{.Node.Hostname}}"
|
||||||
environment:
|
environment:
|
||||||
TZ: America/Chicago
|
TZ: America/Chicago
|
||||||
hostname: "{{.Node.Hostname}}"
|
|
||||||
command:
|
command:
|
||||||
- --docker_only=true
|
- --docker_only=true
|
||||||
- --store_container_labels=false
|
- --store_container_labels=false
|
||||||
|
|
@ -195,13 +195,17 @@ services:
|
||||||
# ============================================================
|
# ============================================================
|
||||||
node-exporter:
|
node-exporter:
|
||||||
image: prom/node-exporter:latest
|
image: prom/node-exporter:latest
|
||||||
|
hostname: "{{.Node.Hostname}}"
|
||||||
environment:
|
environment:
|
||||||
TZ: America/Chicago
|
TZ: America/Chicago
|
||||||
|
NODE_HOSTNAME: "{{.Node.Hostname}}"
|
||||||
command:
|
command:
|
||||||
- --path.rootfs=/host
|
- --path.rootfs=/host
|
||||||
- --collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)
|
- --collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)
|
||||||
|
- --collector.textfile.directory=/etc/node-exporter
|
||||||
volumes:
|
volumes:
|
||||||
- /:/host:ro,rslave
|
- /:/host:ro,rslave
|
||||||
|
- /etc/hostname:/etc/hostname:ro
|
||||||
networks:
|
networks:
|
||||||
- netgrimoire
|
- netgrimoire
|
||||||
deploy:
|
deploy:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue