ReplicatedStoragePool

Scope: Cluster
Version: v1alpha1

ReplicatedStoragePool is a Kubernetes Custom Resource that defines a configuration for Linstor Storage-pools.

  • spec
    object

    Required value

    Defines desired rules for Linstor’s Storage-pools.

    • spec.lvmVolumeGroups
      array of objects

      Required value

      An array of names of LVMVolumeGroup resources, whose Volume Groups/Thin-pools will be used to allocate the required space.

      Note that every LVMVolumeGroup resource has to have the same type Thin/Thick as it is in current resource’s ‘Spec.Type’ field.

      • spec.lvmVolumeGroups.name
        string

        Required value

        Selected LVMVolumeGroup resource’s name.

        Pattern: ^[a-z0-9]([a-z0-9-.]{0,251}[a-z0-9])?$

      • spec.lvmVolumeGroups.thinPoolName
        string

        Selected Thin-pool name.

    • spec.type
      string

      Required value

      Defines the volumes type. Might be:

      • LVM (for Thick)
      • LVMThin (for Thin)

      Allowed values: LVM, LVMThin