title | description | moduleStatus |
---|---|---|
The sds-node-configurator module |
General Concepts and Principles of the sds-node-configurator module. Deckhouse Kubernetes Platform. |
preview |
{{< alert level="warning" >}} 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. {{< /alert >}}
The module manages LVM
on cluster nodes through Kubernetes custom resources by performing the following operations:
- Discovering block devices and creating/updating/deleting their corresponding BlockDevice resources.
Caution! Manual creation and modification of the
BlockDevice
resource is prohibited.
-
Discovering
LVM Volume Groups
on the nodes with thestorage.deckhouse.io/enabled=true
LVM tag attached andThin-pools
running on them as well as managing the corresponding LVMVolumeGroup resources. The module automatically creates anLVMVolumeGroup
resource if it does not yet exist for a discoveredLVM Volume Group
. -
Scanning
LVM Physical Volumes
on the nodes that are part of managedLVM Volume Groups
. In case the size of underlying block device expands, the correspondingLVM Physical Volumes
will be automatically expanded as well (pvresize
will occur).
Caution! Downsizing a block device is not supported.
- Creating/expanding/deleting
LVM Volume Groups
on the node according to the changes the user has made to theLVMVolumeGroup
resources. Usage examples