charts icon indicating copy to clipboard operation
charts copied to clipboard

[bitnami/mongodb] Mongodb Chart arm64 Support

Open chriskinsman opened this issue 5 years ago β€’ 42 comments

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.

chriskinsman avatar Sep 09 '20 02:09 chriskinsman

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.

dani8art avatar Sep 09 '20 09:09 dani8art

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] avatar Sep 26 '20 11:09 stale[bot]

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.

stale[bot] avatar Oct 02 '20 06:10 stale[bot]

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 avatar Aug 26 '21 12:08 carrodher

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.

carrodher avatar Feb 24 '23 08:02 carrodher

@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?

michaeldistler avatar Apr 03 '23 22:04 michaeldistler

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

javsalgar avatar Apr 04 '23 07:04 javsalgar

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

farcop avatar Apr 07 '23 15:04 farcop

Is this the upstream support you were looking for?

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

rsaltrelli avatar Aug 02 '23 18:08 rsaltrelli

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.

sruehl avatar Aug 09 '23 05:08 sruehl

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

javsalgar avatar Aug 09 '23 07:08 javsalgar

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 😭

dimaqq avatar Sep 17 '23 07:09 dimaqq

/reopen

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

morremeyer avatar Nov 25 '23 14:11 morremeyer

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

/reopen @carrodher @javsalgar

itay-grudev avatar Feb 08 '24 09:02 itay-grudev

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.

carrodher avatar Feb 08 '24 19:02 carrodher

@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.

farcop avatar Feb 09 '24 06:02 farcop

@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

NMikle avatar Feb 25 '24 11:02 NMikle

@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

carrodher avatar Feb 25 '24 17:02 carrodher

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

/reopen @carrodher @javsalgar

XBeg9 avatar Apr 24 '24 15:04 XBeg9

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

kalote avatar Jun 21 '24 10:06 kalote

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 avatar Jun 25 '24 16:06 abasu0713

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

abasu0713 avatar Jun 30 '24 04:06 abasu0713

@abasu0713 How does this relate to this issue?

farcop avatar Jun 30 '24 08:06 farcop

Yeah I am running on this same issue too..

ZeldOcarina avatar Jul 26 '24 16:07 ZeldOcarina

@carrodher any updates? I will need to spin up costly x86 servers just for this?

ZeldOcarina avatar Aug 14 '24 09:08 ZeldOcarina

For the case of MongoDB, we use the upstream binaries to build the images. In the case of Debian it is only offering x86

image

In our free, open source catalog, we are only offering Debian 12 images. In Tanzu Application Catalog (our commercial offering) we support other distros like RHEL or Ubuntu, in which MongoDB has support.

https://tanzu.vmware.com/application-catalog

javsalgar avatar Aug 15 '24 07:08 javsalgar

Simple solution: use MongoDB Atlas free tier

kalote avatar Aug 15 '24 13:08 kalote

Simple solution: use MongoDB Atlas free tier

No it's not enough and they do not offer HIPAA compliance on the free tier..

ZeldOcarina avatar Aug 15 '24 14:08 ZeldOcarina

For the case of MongoDB, we use the upstream binaries to build the images. In the case of Debian it is only offering x86

image

In our free, open source catalog, we are only offering Debian 12 images. In Tanzu Application Catalog (our commercial offering) we support other distros like RHEL or Ubuntu, in which MongoDB has support.

https://tanzu.vmware.com/application-catalog

How much is this? It's not written in that link..

ZeldOcarina avatar Aug 15 '24 14:08 ZeldOcarina

In https://tanzu.vmware.com/application-catalog you can see a "Contact Us" at the bottom. There you can find the requested information.

javsalgar avatar Aug 19 '24 07:08 javsalgar