Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

multi-architecture images (ARM64 support) #495

Open
vgunapati opened this issue Aug 4, 2021 · 3 comments
Open

multi-architecture images (ARM64 support) #495

vgunapati opened this issue Aug 4, 2021 · 3 comments

Comments

@vgunapati
Copy link

vgunapati commented Aug 4, 2021

Add arch support for arm64 to run on AWS graviton instances

Ref: #466

@DiegoLelis
Copy link

Add arch support for arm64 to run on AWS graviton instances

Interesting... is KIAM dependent on x86 architecture?
Have you tried?

I thought the pod shouldn't care about the underlying architecture.

@commixon
Copy link

Hey @DiegoLelis! Since kiam is mostly deployed as a daemonset, the container running on the arm nodes needs to have been built for arm. The multiarch docker build solves this issue since the docker daemon (or containerd etc) will automatically pull the correct image for the architecture

@mattalberts
Copy link

Hi @DiegoLelis the container images need to be built specific to architecture. When a pod requests its image, it passes forward the architecture, allowing for seemless use of multi-architecture instances as long as the docker manifest provides a matching architecture specific image.

Otherwise, you'll end up with an error like this, because the image isn't binary compatible.

$ kl kiam-server-6d6659448-2csnd
exec /kiam: exec format error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants