Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
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
For Gerrit Dashboard: K8S-2920 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
183297,15 | K8S-2920: Make backup HA | 2.4.x | couchbase-operator | Status: MERGED | +2 | +1 |