Expand Persistent Volumes

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

Prerequisites

  • You should join a project and have the Persistent Volume Claim Management permission within the project. For more information, refer to “Project Members” and “Project 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.

Steps

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

  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.