Delete Volume Snapshot Content
This section describes how to delete volume snapshot content.
| Note |
|---|
When a volume snapshot is bound to a volume snapshot content, the volume snapshot content cannot be deleted. To delete the volume snapshot content, you must first delete the volume snapshot. After the volume snapshot is deleted, the system will decide whether to automatically delete the volume snapshot content based on its deletion policy. |
| Warning |
|---|
Once deleted, volume snapshot content cannot be recovered, and the snapshot data stored in the backend storage system will also be deleted. Please perform this operation with caution to avoid snapshot data loss. |
Prerequisites
-
The KubeSphere Storage extension must be installed and enabled on the KubeSphere platform.
-
You need to join a cluster and have the Volume Snapshot Content Management permission in the cluster. For more information, see Cluster Members and Cluster Roles.
Delete a Single Volume Snapshot Content
-
Log in to the KubeSphere web console with a user who has Volume Snapshot Content Management permissions and enter your cluster.
-
Click Storage > Volume Snapshots in the left navigation pane.
-
On the Volume Snapshots page, click Volume Snapshot Contents to open the volume snapshot contents list.
-
Click
on the right of the volume snapshot content you want to delete, and then select Delete from the drop-down list.
-
In the Delete Volume Snapshot Content dialog box, enter the name of the volume snapshot content, and then click OK.
Batch Delete Volume Snapshot Content
-
Log in to the KubeSphere web console as a user with Volume Snapshot Content Management permissions and go to your cluster or workspace.
-
Click Storage > Volume Snapshots in the left navigation pane.
-
On the Volume Snapshots page, click Volume Snapshot Contents to open the volume snapshot contents list.
-
Select the checkboxes on the left of the volume snapshot content you want to delete, and then click Delete above the list.
-
In the Batch Delete Volume Snapshot Content dialog box, enter the name of the volume snapshot, and then click OK.
Note Use commas (,) and spaces to separate multiple names.