For detail, please reference toīackups created by a schedule with useOwnerReferenceInBackup set do not get synced properly. If there is possibility the schedule will be disable to not create backup anymore, and the created backups are still useful. Then k8s GC controller and Velero controller will fight over whether these backups should exist all through. Backup data still exists in object store and snapshots) will be deleted by k8s GC controller, too, but Velero controller will sync these backups from object store’s metadata into k8s. Because schedule is the owner, when the schedule is deleted, the related backups CR (Just backup CR is deleted. Please do notice there is also side effect that may not be expected. This is useful for some GitOps scenarios, or the resource tree of k8s synchronized from other places. Velero schedule create -use-owner-references-in-backup īy this way, schedule is the owner of it created backups.
0 Comments
Leave a Reply. |