Skip to content

Option to exclude persistent volume storage size from reconciler #1791

Closed
@terryyanko

Description

@terryyanko

Proposal

Currently there is no way to leverage an external volume autoscaler for Percona operator-managed MongoDB nodes. The Percona operator should provide an option to exclude persistent volumes from reconciliation in the case that you are using an external volume autoscaler to scale your PVs automatically. Alternatively, built-in PV autoscaling could work as well but would likely take more effort.

The Percona operator currently throws the below error when it recognizes that a PV has been scaled beyond it's initial spec...

ERROR	Reconciler error ... requested storage (50Gi) is less than actual storage (1142Gi)", "errorVerbose": "reconcile StatefulSet for rs0: resize volumes if needed: requested storage (50Gi) is less than actual storage (1142Gi

This could be remedied if there was an option to exclude the volume from the reconciliation loop and allow the external autoscaler to assume control of the PV sizing moving forward.

Use-Case

MongoDB persistent volumes could scale automatically without the need for any regular monitoring / manual intervention / config updates.

Is this a feature you are interested in implementing yourself?

Maybe

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions