|
|
@ -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
|
|
|
|