mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-10-01 04:05:38 +00:00
E2E support sets the --item-block-worker-count. (#8836)
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
This commit is contained in:
@@ -367,6 +367,10 @@ func installVeleroServer(ctx context.Context, cli, cloudProvider string, options
|
||||
args = append(args, fmt.Sprintf("--uploader-type=%v", options.UploaderType))
|
||||
}
|
||||
|
||||
if options.ItemBlockWorkerCount > 1 {
|
||||
args = append(args, fmt.Sprintf("--item-block-worker-count=%d", options.ItemBlockWorkerCount))
|
||||
}
|
||||
|
||||
if err := createVeleroResources(ctx, cli, namespace, args, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
@@ -280,6 +280,7 @@ func getProviderVeleroInstallOptions(veleroCfg *VeleroConfig,
|
||||
io.VeleroPodMemLimit = veleroCfg.VeleroPodMemLimit
|
||||
io.VeleroPodMemRequest = veleroCfg.VeleroPodMemRequest
|
||||
io.DisableInformerCache = veleroCfg.DisableInformerCache
|
||||
io.ItemBlockWorkerCount = veleroCfg.ItemBlockWorkerCount
|
||||
|
||||
return io, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user