Set Default Storage Class

This section explains how to set the default storage class. Once a default storage class is set, the system will use it to create Persistent Volume Claims if no specific storage class is designated. Only one default storage class is allowed in a KubeSphere cluster.

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”.

Steps

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

  2. Click Storage > Storage Classes in the left navigation pane.

  3. Click the name of a storage class in the list to open its details page.

  4. In the top-left corner of the details page, select More > Set as Default Storage Class.

  5. In the Set as Default Storage Class dialog, click OK.