Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-2920

Modify Backup Volumes for HA Situations

    XMLWordPrintable

Details

    • 7 - Til the Krack of dawn
    • 5

    Description

      Overview

      Add in an a boolean spec.ephemeralVolume. This will allow backup to a remote storage provider using a volume which is created/destroyed with the backup pod.

      Backwards Compatability

      The default of spec.ephemeralVolume will be false

      Add

      CouchbaseBackup.spec.ephemeralVolume

      CouchbaseBackupRestore.spec.stagingVolume.size

      CouchbaseBackupRestore.spec.stagingVolume.storageClass

       

      DAC

      if CouchbaseBackup.spec.ephemeralVolume is true and no cloud backup strategy is provided, the DAC will reject the request

      Operator -> CronJob Changes

      if spec.ephemeralVolume is true -> Create Ephemeral Volume on CronJobs PodSpec

      Testing

      • No changes to existing tests
      • New test to ensure that PV does not exist after backup run with spec.ephemeralVolume == true
      • use node selector to run backup on node, change node run backup. no fail?

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Alex.emery Alex Emery (Inactive)
              justin.ashworth Justin Ashworth
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty