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 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.71 and above.
To the versions of other modules:
-
sds-node-configurator: 0.5.14 and above. -
snapshot-controller: any version.
Conversions
The module is configured using the ModuleConfig resource, the schema of which contains a version number. When you apply an old version of the ModuleConfig schema in a cluster, automatic transformations are performed. To manually update the ModuleConfig schema version, the following steps must be completed sequentially for each version:
-
Updates from version 1 to 2:
Need to remove the
.enableThinProvisioningparameter.
Parameters
Schema version: 2
-
-
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" }
-
-
stringsettings.logLevelModule log level
Default:
DEBUGAllowed values:
ERROR,WARN,INFO,DEBUG,TRACE
-