Skip to content

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

  1. After logging into CHAI™, click on the project where you want to manage PVCs, then click Cruize.

    Cruize

  2. 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.

PVC

  • Then deployment definition page will be opened, now go to Containers tab. Select container and then go to Persistent Volume Claims tab 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.

    PVC


Adding a New PVC

  1. Click the Add New PVC button. After clicking, the following form will be displayed.

    Add PVC

  2. 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

Add PVC


2. Access Mode

Select the appropriate access mode.

Add PVC


3. Volume Mode

Select the volume mode (Filesystem / Block).

Add PVC


4. Mount Path

Path requirements: - Path should start with '/'

Add PVC


5. Labels & Annotations

Click here to learn more about labels and annotations.


  1. Provide all details and click the Save button.

    Add PVC


View PVC

To view PVC details:

  • Click the View icon as shown in the image below.

    View PVC


Edit PVC

To edit PVC data:

  • Click the Edit icon as shown in the image below.

    Edit PVC


Delete PVC

To delete a PVC:

  • Click the Delete icon as shown in the image below.

    Delete PVC