cadvisor resourcing

main
Alpha Chen 2 months ago
parent ba62fbbedb
commit cd5994a792
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -80,6 +80,11 @@
name: cadvisor name: cadvisor
image: gcr.io/cadvisor/cadvisor:{{ cadvisor_version }} image: gcr.io/cadvisor/cadvisor:{{ cadvisor_version }}
restart: true restart: true
command:
#https://github.com/google/cadvisor/issues/2523#issuecomment-2258042352
- "--housekeeping_interval=30s"
- "--docker_only=true"
- "--store_container_labels=false"
volumes: volumes:
- /:/rootfs:ro - /:/rootfs:ro
- /var/run:/var/run:rw - /var/run:/var/run:rw

Loading…
Cancel
Save