Expand Persistent Volumes

This section describes how to expand the capacity of a Persistent Volume.

Prerequisites

  • You should join a cluster and have the Persistent Volume Claim Management permission within the cluster. For more information, refer to “Cluster Members” and “Cluster Roles”.

  • Ensure that the system has created a Persistent Volume for the Persistent Volume Claim.

  • Ensure that the backend storage system supports volume cloning, and the storage class corresponding to the Persistent Volume Claim has enabled volume cloning. For more information, please refer to Enable and Disable Volume Operations.

Steps

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

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

  3. Click the name of a Persistent Volume Claim in the list to open its details page.

  4. In the top-left corner of the details page, select More > Expand.

  5. In the Expand Volume dialog, set the volume capacity, and then click OK.

    Warning
    • If the Persistent Volume is already mounted to a workload, expanding the capacity will result in the restart of the workload, causing a interruption in the business.

    • Persistent volume capacity can only be increased and cannot be reduced.