kube-rbac-proxy icon indicating copy to clipboard operation
kube-rbac-proxy copied to clipboard

Multi Arch Image pulled from quay.io does not work in arm64/graviton nodes

Open santhotech opened this issue 1 year ago • 3 comments

Hi

I pulled the image quay.io/brancz/kube-rbac-proxy:v0.14.2 and 0.15.0. Inspected the images to verify they are multi-arch and they contain the digests for all supported archs in their manifest. However, when I run the container on an EKS Cluster with Graviton/ARM64 nodes, the container fails to start with the "exec; error wrong format" error. Upon swapping the graviton nodes for amd nodes, the container runs fine.

Our expectation was that this multi-arch image should run regardless of arm/amd arch. Am I missing something or could this be a defect in how this image was built?

santhotech avatar Jan 10 '24 16:01 santhotech

Yes, the digest part is pretty odd, I see it here too: kube-rbac-proxy on quay.io.

I didn't set up the pipelines, but from what I see in the Makefile the image without a suffix is just an amd64 image..

ibihim avatar Jan 15 '24 10:01 ibihim

Thanks @ibihim for the confirmation, short of re-building the image to be multi-arch, do you have any recommendation for a work around?

santhotech avatar Jan 18 '24 14:01 santhotech

So you have a requirement to have a multi arch image?

As it is open source, you can contribute to the project.

ibihim avatar Mar 18 '24 13:03 ibihim