LVMVolumeGroupSet

Scope: Cluster
Version: v1alpha1

An interface for creating several LVMVolumeGroups by common template at once.

  • spec
    object

    Required value

    • spec.lvmVolumeGroupTemplate
      object

      Required value

      The common template for LVMVolumeGroup resources provided by the set.

      • spec.lvmVolumeGroupTemplate.actualVGNameOnTheNode
        string

        Required value

        The desired name of a Volume Group in LVMVolumeGroups. Must be unique for the node it is on.

        This field is immutable. Note, that this Volume Group name will be common for every LVMVolumeGroup created by the set.

      • spec.lvmVolumeGroupTemplate.blockDeviceSelector
        object

        Required value

        The desired BlockDevice resources selector to provide in LVMVolumeGroups configurations.

        • spec.lvmVolumeGroupTemplate.blockDeviceSelector.matchExpressions
          array of objects

          The desired block device selector expressions.

          • spec.lvmVolumeGroupTemplate.blockDeviceSelector.matchExpressions.key
            string
          • spec.lvmVolumeGroupTemplate.blockDeviceSelector.matchExpressions.operator
            string

            Allowed values: In, NotIn, Exists, DoesNotExist

          • spec.lvmVolumeGroupTemplate.blockDeviceSelector.matchExpressions.values
            array of strings
        • spec.lvmVolumeGroupTemplate.blockDeviceSelector.matchLabels
          object

          The desired block device selector labels.

      • spec.lvmVolumeGroupTemplate.metadata
        object

        Metadata of LVMVolumeGroup resources.

        • spec.lvmVolumeGroupTemplate.metadata.labels
          object

          Must-have labels for LVMVolumeGroup resources.

      • spec.lvmVolumeGroupTemplate.thinPools
        array of objects

        The desired Thin-pool configuration in LVMVolumeGroups.

        Note, that the configuration will be common for every LVMVolumeGroup created by the set.

        • spec.lvmVolumeGroupTemplate.thinPools.allocationLimit
          string

          Thin pool oversize limit. Default is 150%.

          Default: "150%"

          Pattern: ^[1-9][0-9]{2,3}%$

        • spec.lvmVolumeGroupTemplate.thinPools.name
          string

          Required value

          The desired thin pool name.

          This field is immutable.

        • spec.lvmVolumeGroupTemplate.thinPools.size
          integer or string

          Required value

          The desired thin pool size. Might be specified as number or percent size of total VG space.

          Note, that if you specify the percent size, the thin pool will be automatically extended when VG is extended.

          Pattern: ^[0-9]+(\.[0-9]+)?(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$|^[1-9][0-9]?%$|100%

      • spec.lvmVolumeGroupTemplate.type
        string

        Required value

        The type of a VolumeGroup in LVMVolumeGroups. Might be:

        • Local, that is, local if the devices used are not distributed (not Shared LUN).

        Allowed values: Local

    • spec.nodeSelector
      object

      Required value

      The desired node selector for nodes which will be used by LVMVolumeGroups.

      • spec.nodeSelector.matchExpressions
        array of objects

        The desired node selector expressions.

        • spec.nodeSelector.matchExpressions.key
          string
        • spec.nodeSelector.matchExpressions.operator
          string

          Allowed values: In, NotIn, Exists, DoesNotExist

        • spec.nodeSelector.matchExpressions.values
          array of strings
      • spec.nodeSelector.matchLabels
        object

        The desired node selector labels.

    • spec.strategy
      string

      Required value

      The strategy (rule) to provide LVMVolumeGroup resources by the set.

      Allowed values: PerNode