brancz / kube-rbac-proxy

Kubernetes RBAC authorizing HTTP proxy for a single upstream.
Apache License 2.0
577 stars 189 forks source link

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

Open santhotech opened 8 months ago

santhotech commented 8 months ago

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?

ibihim commented 8 months ago

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

santhotech commented 8 months ago

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

ibihim commented 6 months ago

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

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