Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubectl-argo-rollouts arm64 docker image not working - Dashboard #1728

Closed
cguertin14 opened this issue Dec 23, 2021 · 4 comments · Fixed by #1732
Closed

kubectl-argo-rollouts arm64 docker image not working - Dashboard #1728

cguertin14 opened this issue Dec 23, 2021 · 4 comments · Fixed by #1732
Labels
bug Something isn't working help wanted Extra attention is needed kubectl-plugin
Milestone

Comments

@cguertin14
Copy link
Contributor

cguertin14 commented Dec 23, 2021

Summary

The arm64 version of the quay.io/repository/argoproj/kubectl-argo-rollouts Docker image isn't working.
When running a container on my raspberry pi with the image tagged v1.1.1, I get the following error:

standard_init_linux.go:228: exec user process caused: exec format error

Diagnostics

What version of Argo Rollouts are you running? v1.1.1

# Paste the logs from the rollout dashboard

standard_init_linux.go:228: exec user process caused: exec format error

The problem seems to be that amd64 is hardcoded in the Dockerfile, here:
image


Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

@cguertin14 cguertin14 added the bug Something isn't working label Dec 23, 2021
@harikrongali harikrongali added this to the v1.2 milestone Dec 23, 2021
@harikrongali harikrongali added the help wanted Extra attention is needed label Dec 23, 2021
@kostis-codefresh
Copy link
Member

kostis-codefresh commented Dec 27, 2021

I think that we need to create/keep the ARM executable first. Doesn't look it is released by default

dist/kubectl-argo-rollouts-linux-amd64

@cguertin14
Copy link
Contributor Author

cguertin14 commented Dec 27, 2021

I think that we need to create/keep the ARM executable first. Doesn't look it is released by default

dist/kubectl-argo-rollouts-linux-amd64

True, the arm64 artifacts don't seem to be released, but the arm64 Docker images are released on Quay. The problem with those images seems to be in the Dockerfile of the plugin where it uses an amd64 base image: https://github.com/argoproj/argo-rollouts/blob/master/Dockerfile#L74

The root cause of this is probably deeper than that, but to me it seems like a good starting point

@SahajMahajan
Copy link

SahajMahajan commented Mar 30, 2024

When deploying this image: argoproj/rollouts-demo:blue on minikube cluster on MacBook air.
Getting this error - exec /rollouts-demo: exec format error

Argo Rollouts Version - quay.io/argoproj/argo-rollouts:v1.6.6

@kostis-codefresh
Copy link
Member

@SahajMahajan the error probably means that the rollouts-demo is not compiled for mac/arm and has nothing to do with Argo Rollouts.

You should open an issue at https://github.com/argoproj/rollouts-demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed kubectl-plugin
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants