multi-architecture images (ARM64 support)
vgunapati opened this issue · 3 comments
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.
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
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