The module is guaranteed to work only with stock kernels that are shipped with the supported distributions.
The module may work with other kernels or distributions, but its stable operation and availability of all features is not guaranteed.
BlockDevice
Scope: Cluster
Version: v1alpha1
The resource displays up-to-date information about available block devices on nodes that can be used by the sds-node-configurator controller for LVM operations.
The resource is created and managed by the controller only. Manual modification of the resource is prohibited.
LVMLogicalVolume
Scope: Cluster
Version: v1alpha1
-
-
integer or string
Required value
The desired LV size. It can be specified as a numerical value or percentage of the total VG or thin pool space. For thin pools, the total space is calculated as the actual thin pool size multiplied by the
allocationLimit
value.Note that if you specify a percentage, the LV will be automatically extended when VG, thin pool, or thin pool’s
allocationLimit
value is increased.Minimal length:
1
Pattern:
^[0-9]+(\.[0-9]+)?(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$|^[1-9][0-9]?%$|100%
-
-
-
-
string
The volume cleanup method after the PV is deleted. If this parameter is not set, there’s no guarantee that the data will be completely deleted.
Allowed values:
RandomFillSinglePass
: The volume will be overwritten with random data once before deletion. This option is not recommended for solid-state drives (SSDs), as overwriting reduces the drive’s lifespan. For thin volumes, only the space in use at the moment of volume deletion will be overwritten.RandomFillThreePass
: The volume will be overwritten with random data three times before deletion. This option is also not recommended for SSDs, as overwriting reduces the drive’s lifespan. For thin volumes, only the space in use at the moment of volume deletion will be overwritten.Discard
: Before deletion, all blocks of the volume will be marked as free using thediscard
system call. This option is applicable only to SSDs and thick volumes.
Allowed values:
RandomFillThreePass
,RandomFillSinglePass
,Discard
LVMLogicalVolumeSnapshot
Scope: Cluster
Version: v1alpha1
LVMVolumeGroup
Scope: Cluster
Version: v1alpha1
An interface for managing Volume Groups and Thin pools on the nodes.
These resources might be created both by a user and the sds-node-configurator controller. The sds-node-configurator controller will automatically create an LVMVolumeGroup resource if it detects an existing Volume Group on a node tagged with ‘storage.deckhouse.io/enabled=true’. The controller will fill in both the ‘spec’ and ‘status’ fields. The
spec.thinPools
field must be filled in by yourself.
-
-
-
array of objectsThe desired block device selector expressions.
-
-
-
-
integer or string
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%
LvmVolumeGroupBackup
Scope: Cluster
Version: v1alpha1
-
-
-
integer or string
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%
LVMVolumeGroupSet
Scope: Cluster
Version: v1alpha1
-
-
object
Required value
The common template for LVMVolumeGroup resources provided by the set.-
object
Required value
The desired BlockDevice resources selector to provide in LVMVolumeGroups configurations.-
array of objectsThe desired block device selector expressions.
-
-
-
array of objects
The desired Thin-pool configuration in LVMVolumeGroups.
Note, that the configuration will be common for every LVMVolumeGroup created by the set.
-
integer or string
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%
-
object
Required value
The desired node selector for nodes which will be used by LVMVolumeGroups. -
-