CephStorageClass
Scope: Cluster
Version: v1alpha1
CephStorageClass is a Kubernetes Custom Resource that defines a configuration for a Kubernetes Storage class.
- spec
Required value
- spec.cephFS
CephFS specific parameters.
- spec.cephFS.fsName
Required value
Name of the CephFS file system.
- spec.clusterAuthenticationName
Name of the CephClusterAuthentication custom resource.
- spec.clusterConnectionName
Required value
Name of the CephClusterConnection custom resource.
- spec.rbd
Rados Block Device specific parameters.
- spec.rbd.defaultFSType
Default file system type for the Rados Block Device.
Default:
"ext4"
- spec.rbd.pool
Required value
Name of the RBD pool.
- spec.reclaimPolicy
Required value
The storage class’s reclaim policy:
Delete
— if the Persistent Volume Claim is deleted, deletes the Persistent Volume and its associated storage as well;Retain
— if the Persistent Volume Claim is deleted, remains the Persistent Volume and its associated storage.
Allowed values:
Delete
,Retain
- spec.type
Required value
The type of the storage class.
Allowed values:
CephFS
,RBD