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.
-
After logging into OmniDeq, click on the Project where you want to manage the PVCs and click on
Cruize
. -
Click on blueprint version count on blueprint card. After clicking to count, blueprint versions page will be displayed which contains list of blueprint versions.
-
Click on View configurations kebab menu option or click on blueprint version name then of blueprint version to view blueprint configurations. Go to Deployments tab and click on
Edit deployment definition
from Action column of any deployment. -
Then deployment definition page will be opened, now go to
Containers
tab. Select container and then go toPersistent Volume Claims
tab as shown in the below image.
Adding a new PVC
- Click on
Add New PVC
button and after clicking following form will be displayed.
-
Add PVC by entering the below details:
PVC name Type PVC name here 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 Type Mount path here Storage classname / Volume name Choose either Storage classname or Volume name. Default Storage classname is selected, change as applicable Label & Annotations Section Label & Annotations are optional. Add Label & Annotations here -
PVC name:
- Only lowercase alphanumeric characters, '-' or '.' allowed
- Must start and end with an alphanumeric character
- Name must be unique
-
Maximum 253 characters allowed
-
Select Access mode
-
Select Volumn mode (Filesystem / Block)
-
Mount path:
-
Path should start with '/'.
-
-
Labels & Annotations: Cilck here to know more details.
-
-
Provide all details and click on
Save
button
View PVC
-
Click on
View icon
to view details as shown in below image.
Edit PVC
-
Click on
Edit icon
to edit PVC data as shown in below image.
Delete PVC
-
Click on
Delete icon
to delete PVC as shown in below image.