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

Test ARM64 architecture - operator and builder pods #4519

Closed
squakez opened this issue Jun 28, 2023 · 7 comments · Fixed by #4997
Closed

Test ARM64 architecture - operator and builder pods #4519

squakez opened this issue Jun 28, 2023 · 7 comments · Fixed by #4997

Comments

@squakez
Copy link
Contributor

squakez commented Jun 28, 2023

We need to test the work done in a ARM64 Kubernetes cluster.

Originally posted by @squakez in #4148 (comment)

@squakez squakez added this to the 2.0.0 milestone Jun 28, 2023
@squakez squakez modified the milestones: 2.0.0, 2.1.0 Jul 27, 2023
@gansheer
Copy link
Contributor

gansheer commented Aug 7, 2023

I managed to deploy camel-k 2.0 on an arm64 using camel-k-client-2.0.0-linux-arm64.tar.gz on a Raspberry 4 (with ubuntu server + minikube + docker). My feedback is:

  • I could not install with helm chart, but I suspect that's because I don't really know how to configure it
  • By default any container image dependency (operator image and base image) pull was a non arm64 one. I had to specify both on install:
kamel install --operator-image apache/camel-k:2.0.0-arm64 --base-image eclipse-temurin:17@sha256:f84e436a00db070dd6df8206b3800b8e7799e13a9f75a96581e425707672d193

This behavior could be the result of an incomplete kubernetes configuration on my minikube. Or it could also be a result of :
1 - For the operator image: we declare by default camel-k:2.0.0, and this tag doesn't exists as an "arm64" arch
2 - For the base image : maybe spectrum has a default configuration for the arch version

Still, with these modifications I managed to run successfully a basic integration.

@squakez squakez modified the milestones: 2.1.0, 2.2.0 Oct 17, 2023
@niamR
Copy link

niamR commented Dec 16, 2023

Working with camel-k 2.0.0, 2.1.0 and 2.2.0nightly on OCI arm64 cluster (Ampere A1 nodes).
Same as above, I had to specify the operator-image and base-image.

kamel install --operator-image=apache/camel-k:2.1.0-arm64 --base-image=docker.io/eclipse-temurin:17.0.9_9-jre@sha256:e530452bd0b0678cdcbb86d2fe86bbee6a2972c723c8040ccc00ca64c76df0ba

Further evidences needed, please let me know, would be happy to share.

@squakez
Copy link
Contributor Author

squakez commented Dec 18, 2023

Thanks for sharing! @niamR are you using the default publishing strategy (Spectrum) or any other strategy by any chance?

@squakez
Copy link
Contributor Author

squakez commented Dec 18, 2023

@gansheer maybe the configuration above could be something we should document in the official doc page? we may also have a look at github actions as in https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/ and see if we are able to add a simple smoke test as well.

@squakez squakez added the area/documentation Documentation task label Dec 18, 2023
@gansheer
Copy link
Contributor

gansheer commented Dec 18, 2023

@squakez Both are great ideas. I'll look into it.

@niamR
Copy link

niamR commented Dec 19, 2023

@squakez Only tested with default so far, but I can give a try with buildah as we were using it in earlier versions.

@squakez
Copy link
Contributor Author

squakez commented Dec 19, 2023

@squakez Only tested with default so far, but I can give a try with buildah as we were using it in earlier versions.

No thanks, buildah was deprecated so it does not make sense. I was speaking with @gansheer right now on fixing the documentation. For now it was good enough you manage to test and provide the feedback it's working, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants