Prerequisites
1. A cluster should be conneted to the Kubera UI. (Know More)
2. OpenEBS should be installed on the cluster. (Know More)
3. cStor pool should be provisioned on the cluster. (Know More)
Storage Class Creation:
STEP 1
Click on "Management --> Storage Classes" option present in the leftside bar. We will get a list of all the storage classes present over the cluster. Now, Click on "Create a new Storage class" option present at the top right corner of the dashboard.
STEP 2
Choose the "Storage Class Type" from the given option as shown in the image below. Here, we are choosing "cStor Storage Class". Click on "Continue" present at the bottom right corner as shown in the image below, to create the respective CAS storage class.
STEP 3
Name your "CSPC Storage Class", Select your "FS Type", "Replica Count". The replica count should be less than or equal to the number of instances of the corresponding cStor pool. Next, select the CSPC checkbox and click on "Generate SC config".
STEP 4
After clicking on "Generate SC config", we will be redirected to a dashboard where we can see the uneditable storage class Yaml. Click on "Create".
STEP 5
After the storage class is created, we can go to the storage class management dashboard by clicking on "Continue to Storage Class Management". To know about Storage Class Management, Click here.
STEP 6
To verify the created storage class, click on Continue to Storage Class Management. This page provides you with a list of the available storage classes. To know more about it click on adjacent to the respective storage class name and click on describe.
Deletion of Storage Classes
You can delete the existing cStor storage classes from Kubera UI. Before deleting, ensure no existing volumes utilize the storage class.
STEP 1
To delete, click on next to the storage class name which has to be deleted and click on Delete.
STEP 2
Click on Delete button as shown in the image below.