Merge pull request #5315 from aaronariasperez/patch-1

A little note about TTL expiration
This commit is contained in:
qiuming
2022-09-29 12:53:28 +08:00
committed by GitHub

View File

@@ -88,6 +88,8 @@ When you create a backup, you can specify a TTL (time to live) by adding the fla
The TTL flag allows the user to specify the backup retention period with the value specified in hours, minutes and seconds in the form `--ttl 24h0m0s`. If not specified, a default TTL value of 30 days will be applied.
The effects of expiration are not applied immediately, they are applied when the gc-controller runs its reconciliation loop every hour.
If backup fails to delete, a label `velero.io/gc-failure=<Reason>` will be added to the backup custom resource.
You can use this label to filter and select backups that failed to delete.