Skip to content

MDBC - Unable to configure persistence #722

Description

@DrissiReda

What did you do to encounter the bug?
Steps to reproduce the behavior:
Put this in your MongoDBCommunity CRD:

spec:
  podSpec:
    persistence:
      single:
        storage: "12Gi"
    storageClass: storage-class-name

What did you expect?
Storage configuration to change

What happened instead?

This doesn't remain in the CR after creation.
Storage in the StatefulSet remains as default, meaning keeping both data and logs pvcs with the default sizes
and without a storageClass

Operator Information

  • 1.6.1
  • quay.io/mongodb/mongodb-community-server:8.2.3-ubi8

Kubernetes Cluster Information

  • RKE2
  • 1.33.6+rke2r1
  • quay.io

Any idea how I can do this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions