mc-monitor icon indicating copy to clipboard operation
mc-monitor copied to clipboard

Update cadvisor in example for ARM64 runtime

Open VladimirKuletski opened this issue 3 years ago • 3 comments

More of improvement request than issue.

  1. cadvisor latest image is not working on ARM64 platform (OCI) Used zcube/cadvisor image as it has pre-compiled ARM64 platform. Works as expected. Googled that gcr.io/cadvisor/cadvisor:v0.45.0 should have ARM64. Didn't have time to check.
  2. cadvisor permissions Required to add privileged: true on Ubuntu to be able to get metrics data. Not sure if it is required for all OS flavors and should go into commit.

VladimirKuletski avatar Aug 15 '22 21:08 VladimirKuletski

Did you mean to post this here? The latest mc-monitor image is already multi-architecture including arm64.

itzg avatar Aug 15 '22 21:08 itzg

https://github.com/itzg/mc-monitor/blob/39fdbfebb2a2eb465bae61a3ea1f25e1466c2d66/examples/mc-monitor-prom/docker-compose.yml#L22 has reference to cadvisor image. This is what I had to change to make this example work + priviledged mode. Sorry for confusion missed file reference initially

VladimirKuletski avatar Aug 15 '22 21:08 VladimirKuletski

Thanks for clarifying. Now that makes sense!

itzg avatar Aug 15 '22 22:08 itzg