Delete PVCs

This section explains how to delete a Persistent Volume Claim.

Warning

Deleting a Persistent Volume Claim is irreversible, and by default, the Persistent Volume associated with the Persistent Volume Claim will also be deleted. Please proceed with caution to avoid data loss.

Prerequisites

  • You should join a cluster and have the Persistent Volume Claim Management permission within the cluster. For more information, refer to “Cluster Members” and “Cluster Roles”.

  • Please backup data in the backend storage area in advance to avoid data loss.

Delete a Single Persistent Volume Claim

  1. Log in to the KubeSphere web console with a user who has the Persistent Volume Claim Management permission, and access your cluster.

  2. Click Storage > Persistent Volume Claims in the left navigation pane.

  3. Click more on the right of the Persistent Volume Claim you want to delete, then choose Delete from the dropdown list.

  4. In the Delete Persistent Volume Claim dialog, enter the name of the Persistent Volume Claim, then click OK.

Delete Multiple Persistent Volume Claims

  1. Log in to the KubeSphere web console with a user who has the Persistent Volume Claim Management permission, and access your cluster.

  2. Click Storage > Persistent Volume Claims in the left navigation pane.

  3. Select the checkbox on the left of the Persistent Volume Claims you want to delete, then click Delete above the Persistent Volume Claim list.

  4. In the Delete Multiple Persistent Volume Claims dialog, enter the name of the Persistent Volume Claims, then click OK.

    Note

    Please separate multiple names using a comma (,) and a space.