Parameter | Description | Limitation |
---|---|---|
filesystemName | The name of the Content Software for File filesystem to create directories in as Kubernetes volumes | The filesystem should exist in the cluster |
Apply the StorageClass and check it has been created successfully:
1 # apply the storageclass .yaml file 2 $ kubectl apply -f storageclass-wekafs-dir.yaml 3 storageclass.storage.k8s.io/storageclass-wekafs-dir created 4 5 # check the storageclass resource has been created 6 $ kubectl get sc NAME PROVISIONER RECLAIMPOLICY 7 VOLU 8 storageclass-wekafs-dir csi.weka.io Delete Imme
It is possible to define multiple storage classes with different filesystems.