This section describes how to view persistent volume claim details.

Prerequisites

You need to join a cluster and have the Persistent Volume Claim 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 Persistent Volume Claim View permissions and enter your cluster.

  2. Click Storage > Persistent Volume Claims in the left navigation pane.

  3. In the Persistent Volume Claims list, click the name of a Persistent Volume Claim to open its details page.

  4. On the PersistentVolumeClaim details page, view the resource attributes of the PersistentVolumeClaim in the Attributes area.

    Parameter Description

    Project

    The project to which the PersistentVolumeClaim belongs.

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

    Access Mode

    Read and Write Modes for Persistent Volumes.

    • RWO (ReadWriteOnce): Allows a single node to read data from and write data to the persistent volume.

    • ROX (ReadOnlyMany): Allows multiple nodes to read data from the persistent volume.

    • RWX (ReadWriteMany): Allows multiple nodes to read data from and write data to the persistent volume.

    Storage Class

    The storage class requested by the PersistentVolumeClaim.

    Provisioner

    The storage plugin used by the storage class.

    Persistent Volume

    The PersistentVolume bound to the PersistentVolumeClaim.

    Creation Time

    The creation time of the PersistentVolumeClaim.

    Creator

    The user who created the PersistentVolumeClaim. If this field is empty, it indicates that the PersistentVolumeClaim was created automatically by the system.

  5. On the Resource Status tab, view the pods that have mounted the PersistentVolume corresponding to the PersistentVolumeClaim.

    Parameter Description

    Mounted Pods

    Displays the pods that have mounted the PersistentVolume corresponding to the PersistentVolumeClaim.

    • Click chevron-down to view information about the containers running in the pod.

    • Click the name of a pod to view its details.

    • Enter keywords in the search box above the pod list to search for pods by name.

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

  6. Click the Metadata tab to view the labels and annotations of the PersistentVolumeClaim.

  7. Click the Events tab to view the events of the PersistentVolumeClaim.

    Parameter Description

    Type

    The type of the event, including Normal and Warning.

    Reason

    The reason why the event occurred.

    Occurrence Time

    The time when the event occurred.

    Source

    The component that reported the event.

    Message

    The content of the event message.