mongodb / mongodb-kubernetes-operator

MongoDB Community Kubernetes Operator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In the quay.io repository, there is no image of the arm architecture.

maskshell opened this issue · comments

commented

In the quay.io repository, there is no image of the arm architecture.

Hello,

We actually released our first ARM images a few days ago
The one for 0.8.3 is the following :
quay.io/mongodb/mongodb-kubernetes-operator:0.8.3-arm64

@Julien-Ben Hi, I did try to use the 0.8.3 on my M1 running a K3D cluster but I guess that the Helm chart is not updated yet ( see #1420).
Is the 0.8.3 helm chart already updated to use quay.io/mongodb/mongodb-kubernetes-operator:0.8.3-arm64 image or how should be set to use it?
Thank you very much.
Cheers.

Hi every one, today I was finally able to install mongo v. 6.0.11 in a k3d Kubernetes cluster on my MacBook with M1 chip ( #1420).
Mongo is installed via the operator , which on arm machines still does have a problem as the mongo-agent it installs doesn't have an arm64 image yet. I used these images #299 (comment) to override chart's values and installed the 6.0.11 version without problems. So let's hope that the agent arm64 image gets uploaded to quay.io soon so to use the official operator.
Cheers

Hi @maskshell @vinnytwice, if you still need a clean solution you can refer to this issue #1426
The image for arm64 is available on quay and you just need to specify --set image.tag=0.8.3-arm64 when installing the operator with helm:
helm install --set image.tag=0.8.3-arm64 community-operator mongodb-helm-charts/community-operator

I just tried on an arm64 machine and it works correctly in k8s.
Hope this helps

Hi @maskshell
You can now find ARM images for the operator on our quay registry
They are built for both architectures starting with version 0.8.3

You can simply pull the non-prefixed tag and docker will automatically download the image for the right architecture for your machine.
E.g docker pull quay.io/mongodb/mongodb-kubernetes-operator:0.8.3

commented

Very sad, imagebase mongodb/mongodb-agent-ubi has an image for arm architecture, but mongodb/mongodb-agent does not.

Hi @maskshell,
We deprecated the usage of ubuntu-based images in release 0.8.3
Users should use ubi-based images now

commented

got it.

apiVersion: mongodbcommunity.mongodb.com/v1
kind: MongoDBCommunity
spec:
  statefulSet:
    spec:
      template:
        spec:
          containers:
            - name: mongodb-agent
              image: "quay.io/mongodb/mongodb-agent-ubi:12.0.25.7724-1"