View Storage Class Details

This section explains how to view storage class details.

Prerequisites

You should join a cluster and have the Storage Class Viewing 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 Viewing 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 Attributes section on the left side of the details page, view the resource attributes of the storage class.

    ParameterDescription

    Provisioner

    The storage plugin used by the storage class.

    Default Storage Class

    The storage class is the default storage class or not. 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.

    Volume Expansion Allowed

    Expanding capacity of Persistent Volumes in the KubeSphere web console is allowed or not.

    Reclaim Policy

    The reclaim policy of the Persistent Volume. KubeSphere defaults to the Delete reclaim policy, which means that when the Persistent Volume claim is deleted, the Persistent Volume is also deleted. For more information, refer to the Kubernetes Documentation.

    Volume Snapshot Allowed

    Creating snapshots for Persistent Volumes in the KubeSphere web console is allowed or not.

  5. On the right side of the details page, click the Persistent Volume Claims tab to view the Persistent Volume Claims created using the storage class .

    ParameterDescription

    Name

    The name and alias of the volume.

    Status

    Current status of the Persistent Volume Claim:

    • Bound: The system has created a Persistent Volume based on the Persistent Volume Claim, and the Persistent Volume Claim is bound to the Persistent Volume.

    • Pending: The system has created the Persistent Volume Claim, but the corresponding Persistent Volume has not been created yet.

    • Updating: The settings of the Persistent Volume Claim have changed, and the system is updating the Persistent Volume Claim.

    • Deleting: The system is deleting the Persistent Volume Claim.

    • Lost: The system has bound the Persistent Volume Claim to a Persistent Volume, but the corresponding Persistent Volume cannot be found. In this state, the Persistent Volume may have been deleted.

    Capacity

    The capacity size requested by the volume.

    Mount Status

    Indicates whether the volume has been mounted to a pod.

    Project

    The project to which the volume belongs.

    Creation Time

    The creation time of the volume.

    • Click the search box at the top of the list to search for volumes 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.