CephStorageClass

Scope: Cluster
Version: v1alpha1

CephStorageClass is a Kubernetes Custom Resource that defines a configuration for a Kubernetes Storage class.

  • spec
    object

    Required value

    • spec.cephFS
      object

      CephFS specific parameters.

      • spec.cephFS.fsName
        string

        Required value

        Name of the CephFS file system.

    • spec.clusterAuthenticationName
      string

      Name of the CephClusterAuthentication custom resource.

    • spec.clusterConnectionName
      string

      Required value

      Name of the CephClusterConnection custom resource.

    • spec.rbd
      object

      Rados Block Device specific parameters.

      • spec.rbd.defaultFSType
        string

        Default file system type for the Rados Block Device.

        Default: "ext4"

      • spec.rbd.pool
        string

        Required value

        Name of the RBD pool.

    • spec.reclaimPolicy
      string

      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
      string

      Required value

      The type of the storage class.

      Allowed values: CephFS, RBD