Container Persistent Volume Claims (PVC)¶
A Persistent Volume Claim (PVC) is a request for storage by a user. PVCs consume PV resources. Claims can request specific size and access modes.
Accessing Container PVCs¶
-
After logging into CHAI™, click on the project where you want to manage PVCs, then click Cruize.

-
Click on the blueprint version count on the blueprint card. After clicking the count, the blueprint versions page will be displayed, which contains a list of blueprint versions.

-
Then deployment definition page will be opened, now go to
Containerstab. Select container and then go toPersistent Volume Claimstab as shown in the below image. -
Click on the View configurations kebab menu option or click on the blueprint version name to view blueprint configurations. Go to the Deployments tab and click Edit deployment definition from the Action column of any deployment.
-
The deployment definition page will open. Now go to the Containers tab. Select a container, then go to the Persistent Volume Claims tab as shown in the image below.

Adding a New PVC¶
-
Click the Add New PVC button. After clicking, the following form will be displayed.

-
Add PVC by entering the following details:
Field Description PVC name Enter the PVC name Access mode Default access mode is 'ReadWriteOnce', change as applicable Volume mode Default volume mode is 'Filesystem', change as applicable Storage Default storage is '1Gi', change as applicable Mount path Enter the mount path Storage classname / Volume name Choose either storage classname or volume name. Default storage classname is selected, change as applicable Label & Annotations Section Optional - Add labels & annotations here
Field Requirements¶
1. PVC Name¶
Naming requirements: - Only lowercase alphanumeric characters, hyphens (-), or periods (.) are allowed - Must start and end with an alphanumeric character - Name must be unique - Maximum 253 characters allowed

2. Access Mode¶
Select the appropriate access mode.

3. Volume Mode¶
Select the volume mode (Filesystem / Block).

4. Mount Path¶
Path requirements: - Path should start with '/'

5. Labels & Annotations¶
Click here to learn more about labels and annotations.
-
Provide all details and click the Save button.

View PVC¶
To view PVC details:
-
Click the View icon as shown in the image below.

Edit PVC¶
To edit PVC data:
-
Click the Edit icon as shown in the image below.

Delete PVC¶
To delete a PVC:
-
Click the Delete icon as shown in the image below.
