You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using a Mac arm machine, I created a kind cluster, and tried to run e2e on the kind cluster, but the addon-example image can not run on the kind cluster:
╰─$ kubectl logs -f -n test-addon-template hello-template-agent-785f84ff-6z74r
rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
%
The issue you're encountering is likely due to the addon-example image being built for the x86_64 architecture, which is not compatible with ARM architecture used by Mac ARM machines. The error message indicates that the image is trying to use an x86_64-specific library (ld-linux-x86-64.so.2), which is not available on ARM architecture.
To resolve this, you need to ensure that the addon-example image is built for ARM architecture. This can be done by modifying the Dockerfile or the build process to include multi-architecture support. Specifically, you should set the GOARCH environment variable to arm64 during the build process to target ARM architecture.
You might also consider using Docker's Buildx tool, which supports building multi-architecture images. This would allow you to build an image that can run on both x86_64 and ARM architectures.
Describe the bug
I am using a Mac arm machine, I created a kind cluster, and tried to run e2e on the kind cluster, but the addon-example image can not run on the kind cluster:
the addon-example image is built by the addon-framework action
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Environment ie: OCM version, Kubernetes version and provider:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: