Deleting a storage class

Delete a storage class that is no longer required.

Required user type or access level: Cluster administrator

Use the following Kubernetes command line (kubectl) command to delete a storage class. For more information about installing and configuring kubectl, see Accessing your cluster from the kubectl CLI.

kubectl delete storageclass <storage class name>

Following is an example command and the output:

$ kubectl delete storageclass glusterfs-distributed
storageclass "glusterfs-distributed" deleted