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

Install MongoDB operator in Prod Openshift #917

Closed
1 task
DanNiESh opened this issue Feb 3, 2025 · 4 comments · Fixed by OCP-on-NERC/nerc-ocp-config#651
Closed
1 task

Install MongoDB operator in Prod Openshift #917

DanNiESh opened this issue Feb 3, 2025 · 4 comments · Fixed by OCP-on-NERC/nerc-ocp-config#651
Assignees
Labels
openshift This issue pertains to NERC OpenShift

Comments

@DanNiESh
Copy link

DanNiESh commented Feb 3, 2025

Motivation

The griot-grits project has requested the MongoDB Operator to be made available in the OpenShift console. They encountered errors with both manual creation and Helm-based deployments. Using the operator will offer a more reliable and automated way to deploying and managing MongoDB.

Completion Criteria

MongoDB is deployed on Production OpenShift

Description

Completion dates

Desired - 2025-02-10
Required - TBD

@DanNiESh DanNiESh added the openshift This issue pertains to NERC OpenShift label Feb 3, 2025
@DanNiESh DanNiESh self-assigned this Feb 3, 2025
@dystewart
Copy link

@DanNiESh, I'm going to install the operator on the test cluster to do some testing. Do we have a desired config from the griot-grits team to work with?

@DanNiESh
Copy link
Author

DanNiESh commented Feb 4, 2025

@DanNiESh, I'm going to install the operator on the test cluster to do some testing. Do we have a desired config from the griot-grits team to work with?

I'm asking their team if they have a desired config

dystewart added a commit to dystewart/nerc-ocp-config that referenced this issue Feb 4, 2025
Installs mongodb operator on the test cluster
addresses: nerc-project/operations#917
dystewart added a commit to dystewart/nerc-ocp-config that referenced this issue Feb 5, 2025
Installs mongodb operator on the test cluster
addresses: nerc-project/operations#917
dystewart added a commit to OCP-on-NERC/nerc-ocp-config that referenced this issue Feb 5, 2025
Installs mongodb operator on the test cluster
addresses: nerc-project/operations#917
dystewart added a commit to dystewart/nerc-ocp-config that referenced this issue Feb 6, 2025
Operator was installed on ocp-test cluster in OCP-on-NERC#649 and works as advertised.

Closes: nerc-project/operations#917
@dystewart
Copy link

I've installed and tested the mongoDB operator in the ocp-test cluster. The operator itself hasn't had active support in a while but it works as advertised in docs

I'm opening a PR in draft mode for now until we get sign off from at least @jtriley & @Milstein before adding this to prod.

@dystewart
Copy link

Here is a simple instance of a mongoDB CRD that I was playing with:

apiVersion: opstreelabs.in/v1alpha1
kind: MongoDB
metadata:
  name: mongodb
  namespace: example
spec:
  kubernetesConfig:
    image: 'quay.io/opstree/mongo:v5.0.6'
    imagePullPolicy: IfNotPresent
    env:
      - name: MONGOSH_HISTORY_PATH
        value: "/tmp/mongosh_history"
    securityContext: {}
  mongoDBSecurity:
    mongoDBAdminUser: admin
    secretRef:
      key: password
      name: mongodb-secret
  storage:
    accessModes:
      - ReadWriteOnce
    storageClass: ocs-external-storagecluster-ceph-rbd
    storageSize: 1Gi

dystewart added a commit to OCP-on-NERC/nerc-ocp-config that referenced this issue Feb 7, 2025
Operator was installed on ocp-test cluster in #649 and works as advertised.

Closes: nerc-project/operations#917
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openshift This issue pertains to NERC OpenShift
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants