LVMVolumeGroupSet
Scope: Cluster
Version: v1alpha1
An interface for creating several LVMVolumeGroups by common template at once.
- spec
Required value
- spec.lvmVolumeGroupTemplate
Required value
The common template for LVMVolumeGroup resources provided by the set.
- spec.lvmVolumeGroupTemplate.actualVGNameOnTheNode
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
Required value
The desired BlockDevice resources selector to provide in LVMVolumeGroups configurations.
- spec.lvmVolumeGroupTemplate.blockDeviceSelector.matchExpressions
The desired block device selector expressions.
- spec.lvmVolumeGroupTemplate.blockDeviceSelector.matchExpressions.key
- spec.lvmVolumeGroupTemplate.blockDeviceSelector.matchExpressions.operator
Allowed values:
In
,NotIn
,Exists
,DoesNotExist
- spec.lvmVolumeGroupTemplate.blockDeviceSelector.matchExpressions.values
- spec.lvmVolumeGroupTemplate.blockDeviceSelector.matchLabels
The desired block device selector labels.
- spec.lvmVolumeGroupTemplate.metadata
Metadata of LVMVolumeGroup resources.
- spec.lvmVolumeGroupTemplate.metadata.labels
Must-have labels for LVMVolumeGroup resources.
- spec.lvmVolumeGroupTemplate.thinPools
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
Thin pool oversize limit. Default is 150%.
Default:
"150%"
Pattern:
^[1-9][0-9]{2,3}%$
- spec.lvmVolumeGroupTemplate.thinPools.name
Required value
The desired thin pool name.
This field is immutable.
- spec.lvmVolumeGroupTemplate.thinPools.size
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
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
Required value
The desired node selector for nodes which will be used by LVMVolumeGroups.
- spec.nodeSelector.matchExpressions
The desired node selector expressions.
- spec.nodeSelector.matchExpressions.key
- spec.nodeSelector.matchExpressions.operator
Allowed values:
In
,NotIn
,Exists
,DoesNotExist
- spec.nodeSelector.matchExpressions.values
- spec.nodeSelector.matchLabels
The desired node selector labels.
- spec.strategy
Required value
The strategy (rule) to provide LVMVolumeGroup resources by the set.
Allowed values:
PerNode