Set Default Storage Class
This section describes how to set the default storage class. After setting a default storage class, the system will use it to create PersistentVolumeClaims if no specific storage class is specified. Only one default storage class is allowed per KubeSphere cluster.
Prerequisites
You need to join a cluster and have the Storage Class Management permission in the cluster. For more information, see Cluster Members and Cluster Roles.
Steps
-
Log in to the KubeSphere web console with a user who has Storage Class Management permissions and enter your cluster.
-
Click Storage > Storage Classes in the left navigation pane.
-
In the storage class list, click the name of a storage class to open its details page.
-
On the storage class details page, click Operation > Set as Default Storage Class.
-
In the Set as Default Storage Class dialog box, click OK.