CephStorageClass
Scope: Cluster
Version: v1alpha1
CephStorageClass is a Kubernetes Custom Resource that defines a configuration for a Kubernetes Storage class.
- objectspec
Required value
- objectspec.cephFS
CephFS specific parameters.
- stringspec.cephFS.fsName
Required value
Name of the CephFS file system.
- stringspec.clusterAuthenticationName
Name of the CephClusterAuthentication custom resource.
- stringspec.clusterConnectionName
Required value
Name of the CephClusterConnection custom resource.
- objectspec.rbd
Rados Block Device specific parameters.
- stringspec.rbd.defaultFSType
Default file system type for the Rados Block Device.
Default:
ext4 - stringspec.rbd.pool
Required value
Name of the RBD pool.
- stringspec.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 - stringspec.type
Required value
The type of the storage class.
Allowed values:
CephFS,RBD