Selective V2 Data Engine Activation
Longhorn allows you to enable or disable the V2 Data Engine on specific cluster nodes. You can choose to enable the V2 Data Engine only on powerful nodes in a cluster with varied power states. This is not possible in v1.5.0, which enables the V2 Data Engine on all nodes.
Disabling the V2 Data Engine on Specific Nodes
-
Identify the nodes that should not run the V2 Data Engine.
-
Add the label
node.longhorn.io/disable-v2-data-engine: "true"
to the selected nodes. -
Enable the global setting
v2-data-engine
.
As a result, the following occur only on nodes without the label:
-
Instance Manager pods for the V2 Data Engine are spawned.
-
V2 Data Engine functionality remains available.
Notice
V2 volume creation is possible only on nodes where the V2 Data Engine is enabled. You must schedule workloads that use V2 volumes on such nodes.
Reference
For more information, see [FEATURE] Selective V2 Data Engine Activation.