From 8f08d9923a7cc287237b36aa40f3b616d9f3b4b2 Mon Sep 17 00:00:00 2001 From: Abigail McCarthy Date: Wed, 20 Apr 2022 14:58:26 -0400 Subject: [PATCH 1/2] Add docs for deleting backups Signed-off-by: Abigail McCarthy --- site/content/docs/main/backup-reference.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/site/content/docs/main/backup-reference.md b/site/content/docs/main/backup-reference.md index 06fdc07b8..7d92d6510 100644 --- a/site/content/docs/main/backup-reference.md +++ b/site/content/docs/main/backup-reference.md @@ -77,8 +77,16 @@ If there is possibility the schedule will be disable to not create backup anymor ## Kubernetes API Pagination -By default, Velero will paginate the LIST API call for each resource type in the Kubernetes API when collecting items into a backup. The `--client-page-size` flag for the Velero server configures the size of each page. +By default, Velero will paginate the LIST API call for each resource type in the Kubernetes API when collecting items into a backup. The `--client-page-size` flag for the Velero server configures the size of each page. Depending on the cluster's scale, tuning the page size can improve backup performance. You can experiment with higher values, noting their impact on the relevant `apiserver_request_duration_seconds_*` metrics from the Kubernetes apiserver. Pagination can be entirely disabled by setting `--client-page-size` to `0`. This will request all items in a single unpaginated LIST call. + +## Deleting Backups + +Use the following commands to delete Velero backups and data: + +* `kubectl delete backup -n ` will delete the backup custom resource only and will not delete any associated data from object/block storage +* `velero backup delete ` will delete the backup resource including all data in object/block storage +* Creating a `DeleteBackupRequest` will delete the backup resource including all data in object/block storage. You can use kubectl to create a `DeleteBackupRequest`. From dca7497d5c4824714b52937823179840175f558f Mon Sep 17 00:00:00 2001 From: Abigail McCarthy Date: Mon, 25 Apr 2022 10:53:46 -0400 Subject: [PATCH 2/2] Remove DeletedBackupRequest information Signed-off-by: Abigail McCarthy --- site/content/docs/main/backup-reference.md | 1 - 1 file changed, 1 deletion(-) diff --git a/site/content/docs/main/backup-reference.md b/site/content/docs/main/backup-reference.md index 7d92d6510..b0eddab29 100644 --- a/site/content/docs/main/backup-reference.md +++ b/site/content/docs/main/backup-reference.md @@ -89,4 +89,3 @@ Use the following commands to delete Velero backups and data: * `kubectl delete backup -n ` will delete the backup custom resource only and will not delete any associated data from object/block storage * `velero backup delete ` will delete the backup resource including all data in object/block storage -* Creating a `DeleteBackupRequest` will delete the backup resource including all data in object/block storage. You can use kubectl to create a `DeleteBackupRequest`.