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 sure the pvb/pvr will stop when velero pod restarts #7908

Open reasonerjt opened 1 week ago

reasonerjt commented 1 week ago

I had a chance to test filesystem backup against a large volume. When I manually restarted velero pod, the backup was marked as "Failed", but the pvb continued running.

There's a gap that we don't have a way to cancel an in-progress pvb, though the data path can be canceled. Ideally, the data transfer by pvb should also be canceled when the velero pod restarts and the backup fails.

Velero version: v1.13.2