Issue
When deploying the AIDR image, you receive the message cannot execute binary file: Exec format error.
Resolution
To resolve this issue, use the following:
Check the node architecture
- Run
kubectl get nodes -o wideto confirm whether your AKS cluster is using AMD64 or ARM64.
- Run
Confirm image architecture
- Inspect the image with
docker manifest inspect <image>to see which platforms are included. - If the image doesn't match the node architecture, you will need to rebuild or pull the correct variant.
- Inspect the image with
Rebuild or swap the helmfile binary
- Ensure that the
helmfilebinary in the image is built for the same architecture as your nodes. If not, replace it with a compatible binary in the container.
- Ensure that the