Make Kopia file parallelism configurable

Signed-off-by: Ming <mqiu@vmware.com>
This commit is contained in:
Ming
2023-10-23 02:08:16 +00:00
parent 19f38f9623
commit 481cb60493
39 changed files with 241 additions and 61 deletions

View File

@@ -342,7 +342,7 @@ func (r *DataUploadReconciler) runCancelableDataUpload(ctx context.Context, fsBa
tags := map[string]string{
velerov1api.AsyncOperationIDLabel: du.Labels[velerov1api.AsyncOperationIDLabel],
}
if err := fsBackup.StartBackup(path, fmt.Sprintf("%s/%s", du.Spec.SourceNamespace, du.Spec.SourcePVC), "", false, tags); err != nil {
if err := fsBackup.StartBackup(path, fmt.Sprintf("%s/%s", du.Spec.SourceNamespace, du.Spec.SourcePVC), "", false, tags, du.Spec.UploaderConfig); err != nil {
return r.errorOut(ctx, du, err, "error starting data path backup", log)
}