Expand Persistent Volume Claim
This section describes how to expand the volume capacity of a PersistentVolumeClaim. The capacity of the bound PersistentVolume will also be expanded accordingly.
Prerequisites
-
You need to join a project and have the Persistent Volume Claim Management permission in the project. For more information, see Project Members and Project Roles.
-
Ensure that the system has created a persistent volume for the persistent volume claim.
-
The expansion operation is ultimately performed by the backend storage system. Ensure that the backend storage system supports volume expansion and that the storage class associated with the persistent volume claim has the volume expansion feature enabled.
Steps
-
Log in to the KubeSphere web console with a user who has Persistent Volume Claim Management permissions and enter your workspace.
-
Click Storage > Persistent Volume Claims in the left navigation pane.
-
Select a project from the drop-down list in the upper left corner of the page.
-
In the Persistent Volume Claims list, click the name of a Persistent Volume Claim to open its details page.
-
On the Persistent Volume Claim details page, click Operation > Expand.
-
In the Expand Volume dialog box, set the volume capacity, and then click OK.
Warning The volume capacity can only be increased, not decreased.