Skip to content

Commit f4a1a13

Browse files
committed
added parallel backup configuration to install docs
Signed-off-by: Scott Seago <sseago@redhat.com>
1 parent 8a6ac7a commit f4a1a13

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

site/content/docs/main/customize-installation.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,12 @@ If you are installing Velero in Kubernetes 1.14.x or earlier, you need to use `k
342342
If you intend to use Velero with a storage provider that is secured by a self-signed certificate,
343343
you may need to instruct Velero to trust that certificate. See [use Velero with a storage provider secured by a self-signed certificate][9] for details.
344344

345+
## Enabling parallel/concurrent backup processing
346+
347+
By default, only one backup is processed in the `InProgress` phase at a time. The install flag `concurrent-backups`, which takes an integer argument, configures Velero to process multiple backups at the same time, up to a max of `concurrent-backups`. The other restriction on parallel backup processing is that two backups which have any included namespaces in common may not run at the same time. For example, if `concurrent-backups` is set to 2 and two backups for "namespace1" are submitted at the same time, only one of those will be processed at the same time. On the other hand, if a backup for "namespace1" and another for "namespace2" are submitted, then both can be processed in parallel. Note that a whole-cluster backup (one which does not restrict to a set list of namespaces) includes all namespaces, and therefore it will not run in parallel with any other backup.
348+
349+
Enabling parallel backups can provide a significant performance benefit for backups which contain a large number of kubernetes resources or ones which contain a large numer of smaller volumes. Backups dominated by large volumes will not see as much benefit, since the majority of time for those backups is spent waiting for the async phase to complete. A larger `concurrent-backups` configuration may require additional memory and CPU resources for the velero container.
350+
345351
## Additional options
346352

347353
Run `velero install --help` or see the [Helm chart documentation](https://vmware-tanzu.github.io/helm-charts/) for the full set of installation options.

0 commit comments

Comments
 (0)