df
This commit is contained in:
parent
0ab94fb44b
commit
aa9a80572f
1 changed files with 29 additions and 0 deletions
29
cadvisor.yaml
Normal file
29
cadvisor.yaml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
|
||||
|
||||
services:
|
||||
cadvisor:
|
||||
image: gcr.io/cadvisor/cadvisor:latest
|
||||
deploy:
|
||||
mode: global # Ensures it runs on every node
|
||||
resources:
|
||||
limits:
|
||||
memory: 512M
|
||||
ports:
|
||||
- "8066:8080" # Expose the cAdvisor UI
|
||||
volumes:
|
||||
- "/:/rootfs:ro"
|
||||
- "/var/run:/var/run:ro"
|
||||
- "/sys:/sys:ro"
|
||||
- "/var/lib/docker/:/var/lib/docker:ro"
|
||||
- "/dev/disk/:/dev/disk:ro"
|
||||
networks:
|
||||
- netgrimoire
|
||||
logging:
|
||||
driver: "gelf"
|
||||
options:
|
||||
gelf-address: "udp://192.168.5.17:12201"
|
||||
tag: "cadvisor"
|
||||
|
||||
networks:
|
||||
netgrimoire:
|
||||
external: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue