bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
8.64k stars 9k forks source link

[bitnami/mongodb] Mongodb Chart arm64 Support #3635

Open chriskinsman opened 3 years ago

chriskinsman commented 3 years ago

Trying to install the mongodb chart and hitting issues with it not supporting arm64.

Tried --set image.repository=arm64v8/mongo --set image.tag=latest to point it at a arm64 image but then the pod crashes on startup.

dani8art commented 3 years ago

Hi @chriskinsman thanks for opening this issue,

I'm sorry to say, this chart only supports bitnami/mongodb image so maybe arm64v8/mongo is not compatible with our configuration logic nor with this chart.

stale[bot] commented 3 years ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

stale[bot] commented 3 years ago

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

carrodher commented 2 years ago

Hi all, we just created this issue https://github.com/bitnami/charts/issues/7305 that is pinned in the Bitnami Helm Charts repository, on this way we can funnel all the conversation in a single place regarding ARM64 support.

We will close the rest of the existing issues just to avoid duplications, please visit the above-mentioned issue to see any new (when possible) about this topic.

carrodher commented 1 year ago

Hi all, we are more than happy to announce that from now on the Bitnami container catalog is available as multi-arch in Docker Hub πŸŽ‰ πŸŽ‰

Screenshot 2023-02-24 at 08 16 50

This means you don’t need to specify anything when pulling the container images from Docker Hub, Docker (or any other software) will automatically pull the container image matching the host platform from which the pull command was issued.

Here you can find more info about this announcement.


As usual, please create a new GitHub issue if you would like to report any bug or problem or directly contribute by creating a PR. Here you can find the contributing guidelines.

michaeldistler commented 1 year ago

@carrodher this is great news! Unfortunately, I'm not seeing this multiarch support for mongodb. Any idea as to when can we expect to see it?

javsalgar commented 1 year ago

Hi,

I'm afraid that we are currently using the MongoDB builds from upstream, so right now if there's no support from upstream we cannot support it

farcop commented 1 year ago

Use https://github.com/ZCube/bitnami-compat as a workaround

rsaltrelli commented 11 months ago

Is this the upstream support you were looking for?

https://hub.docker.com/layers/library/mongo/6.0.8/images/sha256-b010140f00e4ad71e30b77139bbe94b9786e346bb2766141f50a728cc1b4f0d6?context=explore

sruehl commented 11 months ago

Is this the upstream support you were looking for?

https://hub.docker.com/layers/library/mongo/6.0.8/images/sha256-b010140f00e4ad71e30b77139bbe94b9786e346bb2766141f50a728cc1b4f0d6?context=explore

@javsalgar did you see that comment/can you reopen this ticket? Not sure right now about the Status Support.

javsalgar commented 11 months ago

Hi,

According to upstream, they still do not have support for Debian 11, which is the OS we need for the Bitnami Application Catalog

https://feedback.mongodb.com/forums/924280-database/suggestions/46410079-arm-support

dimaqq commented 10 months ago

Maybe it's fair to reopen this ticket?

Sorry for whining, I've just spend a couple of hours debugging my rubbish env just to eventually realise that readiness check can't pass because it takes forever to start mongod since it's a huge binary because ultimately it's wrong architecture 😭

morremeyer commented 7 months ago

/reopen

Maybe the stale bot in this repository is configured to allow anyone to reopen, can't hurt to try.

itay-grudev commented 5 months ago

Please reopen this ticket. As of Feb 2024 the bitnami/mongodb Docker image DOES NOT support arm64.

/reopen @carrodher @javsalgar

carrodher commented 5 months ago

There are already other open issues for this same topic, see https://github.com/bitnami/containers/issues/40947. In that thread, there are some workarounds. For now, ARM is not officially supported upstream. The latest version of MongoDB does not yet support ARM: https://www.mongodb.com/try/download/community. ARM is only supported on Ubuntu and MacOS while our catalog is based on Debian.

farcop commented 5 months ago

@carrodher Hi! Issue https://github.com/bitnami/containers/issues/40947 is not relevant here. Formally bitnami mongodb amd64 image can run on M1 (arm64) computers in Qemu emulation on Macos. But we need native support of linux/arm64 platform in bitnami mongodb images.

NMikle commented 4 months ago

@carrodher There is mongodb arm 64 support in the link you provided. The EXPERIMENTAL_DOCKER_DESKTOP_FORCE_QEMU=1 trick while useful is still experimental and explicit. Moreover, as per this comment, since docker might drop qemu support, relying on it is unsafe. It's been >3 years since Apple Silicone release. It's now part of lot's of people's work process and arm64 is a part of major cloud provider platforms. Please, reopen this. /reopen

carrodher commented 4 months ago

@carrodher There is mongodb arm 64 support in the link you provided.

There is ARM support for some distros, but unfortunately, not for Debian which is the one used in the Bitnami Application Catalog, see Screenshot 2024-02-25 at 18 16 35

XBeg9 commented 2 months ago

Please reopen this ticket. As of April 2024 the bitnami/mongodb Docker image DOES NOT support arm64.

/reopen @carrodher @javsalgar

kalote commented 3 weeks ago

As of June 2024, still not arm support for bitnami/mongodb

abasu0713 commented 2 weeks ago

Guys can we get an arm build out please? I have tested the operator in Orange Pis and Raspberry Pis. Please refer to my operator configuration. I love bitnami charts and cheers to you guys for supporting the community. But this issue is reaching 4 years almost. The only container that wasn't ARM64 compatible was the mongodb-agent and from the looks of it the official providers at Quay have a stable build for the past 6 ish months. So this shouldn't be too hard to pull in no?. Please let me know if there is any way I can help. FYI: Those are ubuntu images - but they run on Debian just fine. Here's the OS info I tested it on:

alphaduriendur@hc-opi5b16-1:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Orange Pi 1.0.8 Bookworm
Release:    12
Codename:   bookworm
alphaduriendur@hc-opi5b16-1:~$ uname -r
6.1.43-rockchip-rk3588
alphaduriendur@hc-opi5b16-1:~$ uname -a
Linux hc-opi5b16-1.arkobasu.space 6.1.43-rockchip-rk3588 #1.0.8 SMP Thu Jun  6 06:38:04 CST 2024 aarch64 GNU/Linux
alphaduriendur@hc-opi5b16-1:~$ 
abasu0713 commented 2 weeks ago

As of June 2024, still not arm support for bitnami/mongodb

@kalote There is support for it on the MongoDB community operator. Checkout the detailed blog

farcop commented 2 weeks ago

@abasu0713 How does this relate to this issue?