< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Delete Persistent Volume Claims

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

  • Application Management for Cluster Federation should have been installed and enabled.

  • You should join a multi-cluster project and have the Federated Project Management permission within the project.

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

Delete a Single PVC

  1. Log in to the KubeSphere web console with a user who has the Federated Project Management permission, and access your multi-cluster project.

  2. Click 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 PVCs

  1. Log in to the KubeSphere web console with a user who has the Federated Project Management permission, and access your multi-cluster project.

  2. Click 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.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.