CephCSIDriver

Scope: Cluster
Version: v1alpha1

Ceph cluster connection parameters and StorageClasses configuration.

  • specobject

    Required value

    • spec.cephfsobject
      • spec.cephfs.storageClassesarray of objects

        CephFS StorageClasses.

        • spec.cephfs.storageClasses.allowVolumeExpansionboolean

          Allows the users to resize the volume by editing the corresponding PVC object.

          Default: true

        • spec.cephfs.storageClasses.fsNamestring

          Required value

          CephFS filesystem name.

        • spec.cephfs.storageClasses.mountOptionsarray of strings

          List of mount options.

        • spec.cephfs.storageClasses.namePostfixstring

          Required value

          Part of the StorageClass name after -.

          The name from the CustomResource CephCSIDriver is used as the first part.

        • spec.cephfs.storageClasses.poolstring

          Ceph pool name into which volume data shall be stored.

        • spec.cephfs.storageClasses.reclaimPolicystring

          The reclaim policy for a Persistent Volume.

          Default: "Retain"

          Allowed values: Delete, Retain

      • spec.cephfs.subvolumeGroupstring

        CephFS subvolume group name.

    • spec.clusterIDstring

      Required value

      Ceph cluster FSID/UUID.

      Use ceph fsid to get Ceph cluster FSID/UUID.

    • spec.monitorsarray of strings

      Required value

      List of ceph-mon IP addresses in the format 10.0.0.10:6789.

    • spec.rbdobject
      • spec.rbd.storageClassesarray of objects

        Description of StorageClasses for Rados Block Device (RBD).

        • spec.rbd.storageClasses.allowVolumeExpansionboolean

          Allows the users to resize the volume by editing the corresponding PVC object.

          More info…

          Default: true

        • spec.rbd.storageClasses.defaultFSTypestring

          Default fstype.

          Default: "ext4"

          Allowed values: ext4, xfs

        • spec.rbd.storageClasses.mountOptionsarray of strings

          List of mount options.

        • spec.rbd.storageClasses.namePostfixstring

          Required value

          Part of the StorageClass name after -.

          The name from the CustomResource CephCSIDriver is used as the first part.

        • spec.rbd.storageClasses.poolstring

          Ceph pool into which the RBD image shall be created.

        • spec.rbd.storageClasses.reclaimPolicystring

          The reclaim policy for a Persistent Volume.

          More info…

          Default: "Retain"

          Allowed values: Delete, Retain

    • spec.userIDstring

      Required value

      Username without client..

    • spec.userKeystring

      Required value

      Ceph auth key corresponding to the userID.