mongodb / mongodb-kubernetes-operator

MongoDB Community Kubernetes Operator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mongodb Operator v0.8.3 crash on aarch64 k8s workers

nello1992 opened this issue · comments

What did you do to encounter the bug?
Hi folks! I'm encountering an unexpected behaviour when deploying mongodb operator through helm chart in a k8s cluster on aarch64 based workers. I see that from v0.8.3, arm64 is supported but still having problems.
Steps to reproduce the behavior:

  1. Authenticate against a k8s cluster with workers based on arm64 arch

  2. Deploy mongodb operator using helm
    helm install community-operator mongodb/community-operator

  3. Check mongodb-operator pod status
    kubectl describe pods -n mongodb-operator

Screenshot 2023-11-14 at 10 34 09

  1. Check mongodb-operator pod logs:
    Screenshot 2023-11-14 at 10 35 52

It seems like there is image supporting arm64 on quay.

What did you expect?
Mongodb operator pod in Running status.

What happened instead?
Mongodb operator pod in CrashLoopBackOff status.

Operator Information

  • Operator Version: 0.8.3
  • MongoDB Image used: helm chart

Kubernetes Cluster Information

  • EKS and Kind
  • Version: 1.28
  • Image Registry location: quay

Additional context info
Related issue #1408

I see that the image for arm64 has been uploaded and setting the right tag, it works correctly!

helm install --set image.tag=0.8.3-arm64 community-operator mongodb-helm-charts/community-operator