This user guide will guide you in deploying your sample application in a cStor setup.
To deploy a sample application using the above created CSPC and StorageClass, a PVC, that utilises the created StorageClass, needs to be deployed. Given below is an example YAML for a PVC which uses the SC created earlier.
Apply the above PVC yaml to dynamically create volume and verify that the PVC has been successfully created and bound to a PersistentVolume (PV).
Now, to deploy an application using the above created PVC specify the
claimName parameter under
Given below is a sample busybox application YAML that uses the PVC created earlier.
Apply the above YAML. Verify that the pod is running and is able to write data to the volume.
The example busybox application will write the current date into the mounted path, i.e, /mnt/openebs-csi/date.txt when it starts. To verify, exec into the busybox container.