The module lifecycle stage: General Availability
Available with limitations in: CE
Available without limitations in: SE, SE+, EE
Enabling the module
To enable the sds-local-volume module, follow these steps:
All commands must be run on a machine with access to the Kubernetes API and administrator privileges.
-
Enable the
sds-local-volumemodule:d8 k apply -f - <<EOF apiVersion: deckhouse.io/v1alpha1 kind: ModuleConfig metadata: name: sds-local-volume spec: enabled: true version: 1 settings: enableThinProvisioning: true # if you plan to use LVM-thin volumes EOF -
Wait for the
sds-local-volumemodule to transition to theReadystate:d8 k get modules sds-local-volume -w -
Verify that the module pods are running:
d8 k -n d8-sds-local-volume get pod -owide d8 k -n d8-sds-node-configurator get pod -o wide
For detailed module setup instructions, see the Quick start section.
Requirements
To the Deckhouse version: 1.67 and above.
To the versions of other modules:
-
sds-node-configurator: any version. -
snapshot-controller: any version.
parameters
Schema version: 1
-
-
objectsettings.dataNodesSettings for local volumes csi on nodes with data
Default:
{}-
objectsettings.dataNodes.nodeSelector
The same as in the Pods
spec.nodeSelectorparameter in Kubernetes.If parameter is omitted, local volume csi will be placed on all nodes.
Caution! Changing this parameter does not result in data redistribution. If node with data no longer matches the
nodeSelector, data on that node will become inaccessible.Default:
{ "kubernetes.io/os": "linux" }
-
-
booleansettings.enableThinProvisioningAllow thin LVM volumes usage
Default:
false -
stringsettings.logLevelModule log level
Default:
DEBUGAllowed values:
ERROR,WARN,INFO,DEBUG,TRACE
-