Storage class for cache volumes
The following fields come under the parameters section of the storage class for cache volumes. The parameters section is mandatory in the storage class.
Field name | Required | Default | Description |
---|---|---|---|
volBackendFs |
Yes | None | The name of the file system under which the fileset is created. When a file system is remotely mounted on an IBM Storage Scale container native cluster, it is the file system name on the IBM Storage Scale container native cluster. |
volumeType |
Yes | None | volumeType: "cache" indicates that the storage class is for cache volumes. |
csi.storage.k8s.io/provisioner-secret-name |
Yes | None | csi.storage.k8s.io/provisioner-secret-name indicates the secret name, which holds the information about an object storage bucket. It is recommended to use the value ${pvc.name}-secret for this parameter. |
csi.storage.k8s.io/provisioner-secret-namespace |
Yes | None | csi.storage.k8s.io/provisioner-secret-namespace indicates the secret name, which holds the information about an object storage bucket. It is recommended to use the value ${pvc.namespace} for this parameter. |
cacheMode |
No | The default is selected based on access mode in PersistentVolumeClaim. For more information, see PersistentVolumeClaim in Kubernetes resources. | cacheMode indicates the caching mode for cache volumes. The supported values for cacheMode are readonly , exclusive , parallel , and detached . For more information,
see Caching modes. |
uid |
No | 0 (root) | The user ID for the cache fileset. |
gid |
No | 0 (root) | The group ID for the cache fileset. |
shared |
No | false | Use shared: "true" , if you have pods with non-root users that are using PersistentVolumeClaims with ReadWriteMany (RWX) access mode. |