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:

      • LVM — for thick;
      • LVMThin — for thin.

      Allowed values: LVM, LVMThin