zalando-incubator / es-operator

Kubernetes Operator for Elasticsearch
353 stars 44 forks source link

exec /es-operator: exec format error #435

Open mabilinab opened 3 weeks ago

mabilinab commented 3 weeks ago

Expected Behavior

I cannot run the es-operator in the "Getting Started" guide due to incompatible docker image architecture (amd64) with my node architecture (arm64).

Is it possible to have a multi-architecture docker image?

This is the docker image used in the "es-operator.yaml"'s deployment:

registry.opensource.zalan.do/poirot/es-operator:latest

Actual Behavior

The es-operator pod stays at " CrashLoopBackOff". When I extract the pod logs I get: exec /es-operator: exec format error

Specifications

This is my node architecture:

kubectl get nodes -o jsonpath="{range .items[*]}{.metadata.name}{'\t'}{.status.nodeInfo.architecture}{'\n'}{end}"
k3s-agent-medium-fou    arm64

This is the docker image architecture:

docker inspect registry.opensource.zalan.do/poirot/es-operator:latest | grep Architecture
"Architecture": "amd64",
mabilinab commented 3 weeks ago

Anyone has any tips please 🙏🏼?

otrosien commented 2 weeks ago

Hey @mabilinab we're short on staff these weeks, as it's holiday season over here. It sounds like a good idea to have cross-architecture Docker binaries. I'll put this into the backlog but can't promise any dates yet.

otrosien commented 2 weeks ago

Oh, it could actually be that the docker registry registry.opensource.zalan.do only supports amd64, which makes this request a bigger change than expected.