backube / volsync

Asynchronous data replication for Kubernetes volumes
https://volsync.readthedocs.io
GNU Affero General Public License v3.0
566 stars 65 forks source link

Volume populator for ReplicationDestination #539

Closed JohnStrunk closed 9 months ago

JohnStrunk commented 1 year ago

Describe the feature you'd like to have. It should be possible to use the ReplicationDestination object as the dataSourceRef of a PVC to enable easier promotion of the latest replicated image.

What is the value to the end user? (why is it a priority?) Today, users must manually copy the .status.latestImage information into the PVC in order to promote a volume. In addition to being not user friendly, this has an inherent race condition where the replication cycle may replace the Snapshot before it can be properly restored. By using the Data Populator feature, the RD can just be use directly, and it can be left to VolSync to handle the timing issues related to Snapshot promotion.

How will we know we have a good solution? (acceptance criteria)

Additional context

tesshuflower commented 1 year ago

/assign @tesshuflower

tesshuflower commented 9 months ago

/close

Released in v0.8.0