Uploaded image for project: 'Percona Kubernetes Operator for Percona Server for MongoDB'
  1. Percona Kubernetes Operator for Percona Server for MongoDB
  2. K8SPSMDB-260

Automatic deletion of PVCs when destroying the cluster

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently, when statefulset is removed, associated PVCs left untouched by default in case if someone is going to re-use them. But when a user wants to remove the installation completely they do not need to keep PVCs.

      Earlier Operator for MongoDB had such support: see K8SPSMDB-37, but it was removed when the project switched to SDK 0.3.0: https://github.com/percona/percona-server-mongodb-operator/commit/a9a5f76e6dcd50cefa9b43331a60502a9778d035

      Percona Operator for PXC also has such support: see cr.yaml

      Please let Percona Operator for MongoDB users to remove PVCs, associated with statefulset, automatically.

        Attachments

          Activity

            People

            Assignee:
            pavel.kasko Pavel Kasko
            Reporter:
            sveta.smirnova Sveta Smirnova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 2 days, 30 minutes
                2d 30m

                  Smart Checklist