This section describes how to view storage class details.

Prerequisites

You need to join a cluster and have the Storage Class View permission in the cluster. For more information, see Cluster Members and Cluster Roles.

Steps

  1. Log in to the KubeSphere web console with a user who has Storage Class View permissions and enter your cluster.

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

  3. In the storage class list, click the name of a storage class to open its details page.

  4. On the storage class details page, view the resource attributes of the storage class in the Properties area.

    Parameter Description

    Provisioner

    The storage plugin used by the storage class.

    Default Storage Class

    Whether the storage class is the default storage class. After setting a default storage class, the system will use it to create persistent volume claims if no specific storage class is specified. Only one default storage class is allowed per KubeSphere cluster.

    Allow Volume Expansion

    Whether to allow users to expand the storage capacity of persistent volume claims in the KubeSphere web console.

    Reclaim Policy

    Reclaim policy of the persistent volume. The KubeSphere platform uses the Delete reclaim policy by default, which means the persistent volume is deleted when the persistent volume claim is deleted. For more information, refer to the Kubernetes official documentation.

  5. On the Persistent Volume Claims tab, view the persistent volume claims created using this storage class.

    Parameter Description

    Name

    The name and alias of the persistent volume claim.

    Status

    The current status of a PersistentVolumeClaim.

    • Bound: The system has created a PersistentVolume based on the PersistentVolumeClaim, and the PersistentVolumeClaim has been bound to the PersistentVolume.

    • Pending: The system has created the PersistentVolumeClaim, but the corresponding PersistentVolume has not been created.

    • Updating: The settings of the PersistentVolumeClaim have changed, and the system is updating the PersistentVolumeClaim.

    • Deleting: The system is deleting the PersistentVolumeClaim.

    • Lost: The system has bound the PersistentVolumeClaim to a PersistentVolume, but the bound PersistentVolume cannot be found. In this state, the PersistentVolume may have been deleted.

    Capacity

    The storage capacity requested by the persistent volume claim.

    Mount Status

    Whether the persistent volume claim has been mounted to a pod.

    Project

    The project to which the persistent volume claim belongs.

    Creation Time

    The creation time of the persistent volume claim.

    • Click the search box above the list and enter a keyword to search for persistent volume claims by name.

    • Click refresh in the upper right corner of the list to refresh the list information.

    • Click cogwheel in the upper right corner of the list to customize the information displayed in the list.