From 9c0a9b9cf64829e2eb372dbfd4a99a60de1b470c Mon Sep 17 00:00:00 2001 From: PoAn Yang Date: Mon, 24 Jun 2024 17:14:39 +0800 Subject: [PATCH] feat: add autoCleanupSnapshotWhenDeleteBackup Signed-off-by: PoAn Yang --- content/docs/1.7.0/references/helm-values.md | 1 + content/docs/1.7.0/references/settings.md | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/content/docs/1.7.0/references/helm-values.md b/content/docs/1.7.0/references/helm-values.md index 13d09f071..b76ad6b77 100644 --- a/content/docs/1.7.0/references/helm-values.md +++ b/content/docs/1.7.0/references/helm-values.md @@ -265,3 +265,4 @@ During installation, you can either allow Longhorn to use the default system set | defaultSettings.v2DataEngineHugepageLimit | Setting that allows you to configure maximum huge page size (in MiB) for the V2 Data Engine. | | defaultSettings.v2DataEngineLogFlags | Setting that allows you to configure the log flags of the SPDK target daemon (spdk_tgt) of the V2 Data Engine. | | defaultSettings.v2DataEngineLogLevel | Setting that allows you to configure the log level of the SPDK target daemon (spdk_tgt) of the V2 Data Engine. | +| defaultSettings.autoCleanupSnapshotWhenDeleteBackup | Setting that automatically cleans up the snapshot when the backup is deleted. | diff --git a/content/docs/1.7.0/references/settings.md b/content/docs/1.7.0/references/settings.md index f2666467e..f224125ce 100644 --- a/content/docs/1.7.0/references/settings.md +++ b/content/docs/1.7.0/references/settings.md @@ -64,6 +64,7 @@ weight: 1 - [Backup Compression Method](#backup-compression-method) - [Backup Concurrent Limit Per Backup](#backup-concurrent-limit-per-backup) - [Restore Concurrent Limit Per Backup](#restore-concurrent-limit-per-backup) + - [Auto Cleanup Snapshot When Delete Backup](#auto-cleanup-snapshot-when-delete-backup) - [Scheduling](#scheduling) - [Allow Volume Creation with Degraded Availability](#allow-volume-creation-with-degraded-availability) - [Disable Scheduling On Cordoned Node](#disable-scheduling-on-cordoned-node) @@ -946,3 +947,9 @@ Longhorn coalesces unnecessary snapshots into their newer counterparts, freeing Allowing snapshot purging during normal operations is ideal, but this process temporarily consumes additional disk space. If insufficient disk space prevents the process from continuing, consider temporarily disabling purging while data is moved to other disks. + +#### Auto Cleanup Snapshot When Delete Backup + +> Default: `false` + +When set to true, the snapshot used by the backup will be automatically cleaned up when the backup is deleted.