Delete Storage Classes
This section explains how to delete a storage class.
Warning |
---|
After deleting a storage class, Persistent Volume Claims and Persistent Volumes created based on this storage class will not be deleted. Containers can still use the mounted Persistent Volumes, but users will no longer be able to use volume cloning, volume snapshots, and volume expansion features. Additionally, it will not be possible to create storage areas in the backend storage system using this storage class. |
Prerequisites
You should join a cluster and have the Storage Class Management permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".
Delete a Single Storage Class
-
Log in to the KubeSphere web console with a user who has the Storage Class Management permission, and access your cluster.
-
Click Storage > Storage Classes in the left navigation pane.
-
Click on the right of the storage class you want to delete, then choose Delete from the dropdown list.
-
In the Delete storage class dialog, enter the name of the storage class, then click OK.
Delete Multiple Storage Classes
-
Log in to the KubeSphere web console with a user who has the Storage Class Management permission, and access your cluster.
-
Click Storage > Storage Classes in the left navigation pane.
-
Select the checkbox on the left of the storage classes you want to delete, then click Delete above the storage class list.
-
In the Delete Multiple Storage Classes dialog, enter the name of the storage classes, then click OK.
Note Please separate multiple names using a comma (,) and a space.
Feedback
Was this page Helpful?
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.