CephCSIDriver
Scope: Cluster
Version: v1alpha1
Ceph cluster connection parameters and StorageClasses configuration.
- spec
Required value
- spec.cephfs
- spec.cephfs.storageClasses
CephFS StorageClasses.
- spec.cephfs.storageClasses.allowVolumeExpansion
Allows the users to resize the volume by editing the corresponding PVC object.
Default:
true
- spec.cephfs.storageClasses.fsName
Required value
CephFS filesystem name.
- spec.cephfs.storageClasses.mountOptions
List of mount options.
- spec.cephfs.storageClasses.namePostfix
Required value
Part of the StorageClass name after
-
.The name from the CustomResource
CephCSIDriver
is used as the first part. - spec.cephfs.storageClasses.pool
Ceph pool name into which volume data shall be stored.
- spec.cephfs.storageClasses.reclaimPolicy
The reclaim policy for a Persistent Volume.
Default:
"Retain"
Allowed values:
Delete
,Retain
- spec.cephfs.subvolumeGroup
CephFS subvolume group name.
- spec.clusterID
Required value
Ceph cluster FSID/UUID.
Use
ceph fsid
to get Ceph cluster FSID/UUID. - spec.monitors
Required value
List of ceph-mon IP addresses in the format
10.0.0.10:6789
. - spec.rbd
- spec.rbd.storageClasses
Description of StorageClasses for Rados Block Device (RBD).
- spec.rbd.storageClasses.allowVolumeExpansion
Allows the users to resize the volume by editing the corresponding PVC object.
Default:
true
- spec.rbd.storageClasses.defaultFSType
Default fstype.
Default:
"ext4"
Allowed values:
ext4
,xfs
- spec.rbd.storageClasses.mountOptions
List of mount options.
- spec.rbd.storageClasses.namePostfix
Required value
Part of the StorageClass name after
-
.The name from the CustomResource
CephCSIDriver
is used as the first part. - spec.rbd.storageClasses.pool
Ceph pool into which the RBD image shall be created.
- spec.rbd.storageClasses.reclaimPolicy
The reclaim policy for a Persistent Volume.
Default:
"Retain"
Allowed values:
Delete
,Retain
- spec.userID
Required value
Username without
client.
. - spec.userKey
Required value
Ceph auth key corresponding to the
userID
.