vmware-tanzu / velero

Backup and migrate Kubernetes applications and their persistent volumes
https://velero.io
Apache License 2.0
8.4k stars 1.37k forks source link

Make the storage class of the datamover PV configurable #7882

Closed heiko-ma closed 2 weeks ago

heiko-ma commented 2 weeks ago

Describe the problem/challenge you have

Currently, when backing up volumes using the CSI-datamover in a geo distributed cluster with longhorn storage, the PV for the datamover gets the same storage class as the original PV. This poses a problem as our production volumes are set to have 3 replicas which results in the datamover PV to be replicated before the backup can start. In the most cases the replication is fast enough but we have one PV with 50GB size which has to be replicated via WAN before the backup. This results in the operation timing out sometimes

Describe the solution you'd like

It should be possible to configure the storage class of the datamover PV so that we can use a strict-local SC to prevent the replication during the backup process.

Environment:

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

Lyndon-Li commented 2 weeks ago

Dup with #7700

heiko-ma commented 2 weeks ago

Closed as already requested.