Storage Classes

Let’s take a quick look at our Storage Classes.

oc get sc

You’ll see storage classes listed along with their provisioner. The storage class can be named whatever the system adminsitrator who created it prefers but the provisioner describes the technical backbone behind it, in this case you’ll notice the netapp-cloud-csi storage class is provisioned by the netapp.io/trident provisioner.

In production you may have mutliple storage classes using the same provisoner. For example, you may define storage classes for different reliability or performance levels that are all provisioned on the same infrastructure. Alternatively you may have one set of storage classes which are provisioned on Cloud Volumes and another set which are provisioned on local NetApp storage, all of which would use the same provisioner.

Now let’s look a little deeper at the netapp-cloud-csi storage class.

oc describe sc fdlabs-nas-basic-

One particularly interesting note here is the Parameters section, this is how the Provisioner knows how to configure storage for this storage class. In this case you’ll see one key/value pair is passed: backendType=ontap-nas. This tells the Trident provisoner to create volumes for this class using NetApp Ontap NAS Service.