vmware-tanzu / velero

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

Restore Data Movement Node Selection #8186

Open MuriloCouceiro opened 1 month ago

MuriloCouceiro commented 1 month ago

Describe the problem/challenge you have In a hybrid (Windows and Ubuntu) cluster, I need to run Velero's pods on my Ubuntu nodes. I'm using the node-agent-config for the CSI Snapshot backup data movement, however, I cannot restore these backups since node selection is not allowed. The setup uses an NFS CSI Driver SC with Immediate Volume Binding.

Describe the solution you'd like Use the node-agent-config Configmap node selector for the restore data movement pods.

Anything else you would like to add: Slack short discussion

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.

reasonerjt commented 2 weeks ago

The reason we chose not to support node selection in restore, is to cover the "waitForFirstConsumer" storageclasses where we need to wait for the restored pod be scheduled first before restoring the PV.

This can be easily fixed if #8044 is fixed.