Create PVCs
This section explains how to create a Persistent Volume Claim.
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".
Steps
-
Log in to the KubeSphere web console with a user who has the Persistent Volume Claim Management permission, and access your project.
-
Click Storage > Persistent Volume Claims in the left navigation pane.
-
Click Create on the page.
-
On the Basic Information tab, set the basic information for the Persistent Volume Claim, and then click Next.
Parameter Description Name
The name of the Persistent Volume Claim. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number and can be up to 253 characters long.
Alias
The alias of the Persistent Volume Claim. The aliases of different Persistent Volume Claims can be the same. The alias can only contain Chinese characters, letters, numbers, and hyphens (-). It must not start or end with a hyphen (-) and can be up to 63 characters long.
Description
The description of the Persistent Volume Claim. The description can contain any characters and can be up to 256 characters long.
-
On the Storage Settings tab, set the storage space requirements, and then click Next.
Parameter Description Creation Method
From Storage Class: Choose a storage class in the current project to create the Persistent Volume Claim.
Storage Class
The storage class used to create the Persistent Volume Claim.
Access Mode
The access modes of Persistent Volumes.
-
RWO (ReadWriteOnce): Allows a single node to read from and write to the Persistent Volume.
-
ROX (ReadOnlyMany): Allows multiple nodes to read from the Persistent Volume.
-
RWX (ReadWriteMany): Allows multiple nodes to read from and write to the Persistent Volume.
Certain access mode may not be available depending on the backend storage system.
Volume Capacity
The corresponding volume capacity of the Persistent Volume Claim.
-
-
On the Advanced Settings tab, set the labels and annotations for the Persistent Volume Claim, and then click Create.
-
Click Add to set multiple labels or annotations.
-
Click on the right of a created label or annotation to delete it.
The Persistent Volume Claim will be displayed in the list after creation.
-
Feedback
Was this page Helpful?
Receive the latest news, articles and updates from KubeSphere
Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.