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