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

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

Closed
maskshell opened this issue Oct 20, 2023 · 8 comments
Closed
Assignees
Labels

Comments

@maskshell
Copy link

maskshell commented Oct 20, 2023

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

@maskshell maskshell changed the title In the quay.io warehouse, there is no image of the arm architecture. In the quay.io repository, there is no image of the arm architecture. Oct 20, 2023
@Julien-Ben
Copy link
Collaborator

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

@vinnytwice
Copy link

vinnytwice commented Nov 1, 2023

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

@vinnytwice
Copy link

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

@nelloserio
Copy link

nelloserio commented Nov 14, 2023

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

@Julien-Ben
Copy link
Collaborator

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

@maskshell
Copy link
Author

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

@Julien-Ben
Copy link
Collaborator

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

@maskshell
Copy link
Author

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"

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

No branches or pull requests

5 participants