PrimeHub requires a default storage class that will be used to provision new user and group volumes.

In this section you will do the following.

If you have an existing file system

If you have your own file system, verify the following.

  1. You can save and read files in your file systems.

  2. Your file system to be default in the Kubernetes system. The following command can be used to set the default storage class.

    # Set as default
    $ kubectl annotate sc <sc-name> storageclass.kubernetes.io/is-default-class=true
    # Check default storage class
    $ kubectl get sc | grep default
    
    NAME                   PROVISIONER                                     RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
    <sc-name> (default)    cluster.local/nfs-subdir-external-provisioner   Delete          Immediate           true                   5m48s