percona / roadmap

Public Percona Roadmaps
10 stars 1 forks source link

[K8SPSMDB-335] Add support for retention of backups stored on S3 #19

Closed spron-in closed 3 years ago

spron-in commented 3 years ago

Community Note

Tell us about the feature Story: As a user, I want to specify retention period for backups, so they are automatically deleted by the operator.

Details: MongoDB operator can upload backups to S3, we have keep flag, but this flag does not work. We need to implement S3 finalizer and remove objects from S3, after they are removed from the k8s.

Which product(s) is this request for? MongoDB, Operators

Tell us about the problem Clean up backups from S3 and keep pxc-backup objects in sync

Describe alternatives you've considered Enable retention on S3 side, but that might cause inconsistency with k8s objects

Additional context None

spron-in commented 3 years ago

The feature was released as part of 1.7.0 version of the Operator. See release notes here.