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

[FEAT]: Arm64 support #1394

Open
aleksasiriski opened this issue Dec 14, 2023 · 10 comments
Open

[FEAT]: Arm64 support #1394

aleksasiriski opened this issue Dec 14, 2023 · 10 comments

Comments

@aleksasiriski
Copy link

This is written in Go, it should be 1h tops to add arm64 support to the container image. Please do this.

@spron-in
Copy link
Collaborator

Hey @aleksasiriski - having operator itself in ARM is easy. But there are other components: mongodb itself, percona monitoring and management, backup tooling. We need to have these containers as ARM as well.

Or maybe I misunderstood and for some reason you need operator image only. Please let me know.

Anyway, we have it in our roadmap and it might come out in Q1'24.

@spron-in
Copy link
Collaborator

@aleksasiriski shall we close this or do you want to keep it open till we have ARM builds for Percona Server for MongoDB and Backup (PBM)?

@aleksasiriski
Copy link
Author

aleksasiriski commented Jan 24, 2024

However you want it, if those other components have their own repos than this issue shouldn't be linked to them IMO. Thank you for pushing for ARM64 support, hope it gets fully supported ASAP.

@sasikanthlanka
Copy link

@aleksasiriski Both percona-server-mongodb as well as percona-backup-mongodb now have support arm64. It's only missing in the operator.

Wouldn't this pr-1356 support it now? How about a 1.16 release?

@aleksasiriski
Copy link
Author

+1 For the new release of operator with support for Arm :D

@Coennie
Copy link

Coennie commented May 13, 2024

any progress news on the 1.16 release? Would really love to get arm supported

@DevBey
Copy link

DevBey commented May 26, 2024

Hello @Coennie,

1.16 is out now I believe.

https://docs.percona.com/percona-operator-for-mongodb/RN/Kubernetes-Operator-for-PSMONGODB-RN1.16.0.html#support-for-arm-architecture-technical-preview

thought I am not sure why this is in technical preview??
are there still issues with using this in production ??
@spron-in ??

@DevBey
Copy link

DevBey commented May 28, 2024

please avoid currently upgrading and moving to arm,

we found out the hard way that currently pmm client doesn't support arm yet.

https://hub.docker.com/r/percona/pmm-client/tags

https://perconadev.atlassian.net/browse/PMM-11932

@qm3ster
Copy link

qm3ster commented Jul 30, 2024

Running operator via helm on aarch64 (Oracle Cloud Infrastructure) and it tries to run x86_64 mongod 😭

fixed that with --set image.tag="7.0.8-5-multi" (same tag as it was already using, but the multiarch manifest. No idea why this isn't the default)

However, now backup-agent is the one failing, and looking in the tags there doesn't seem to be a similar solution for backup.image

Also, lifehack:

kubectl -n percona-mongodb patch perconaservermongodb.psmdb.percona.com/butthole-mongodb-psmdb-db -p '{"metadata":{"finalizers":[]}}' --type=merge

helps when deleting your namespace/release deadlocks because it wants to do something in the unexecable containers

@spron-in
Copy link
Collaborator

spron-in commented Aug 5, 2024

Hey all. Sorry for not updating this thread :)

Updates: ARM support was added in 1.16 in tech preview.
PMM client does not support ARM yet, it is true. For users who are using PMM, please wait till PMM is released in Q3/Q4.

@DevBey "thought I am not sure why this is in technical preview??"
It is in tech preview as we need to capture more feedback. We keep high blast radius features in tech preview for at least one release. And there are multiple questions about ARM, which tells me we still have more work to do.

@aleksasiriski it is in 1.16.

Regarding -multi tag - in the following releases of Percona Server for MongoDB and Percona Backup for MongoDB there will be no need to use -multi tag for ARM, as we will make both images multi-arch.

Some details regarding using -multi were discussed here: https://forums.percona.com/t/mongo-operator-and-arm/24326/7

@qm3ster it might help with your problem as well.

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

No branches or pull requests

6 participants