Available in editions: CE, BE, SE, SE+, EE
The module lifecycle stage: General Availability
The module is enabled by default in the following bundles: Default, Managed.
The module is disabled by default in the Minimal bundle.
How to explicitly enable the module...
You may explicitly enable or disable the module in one of the following ways:
-
Via Deckhouse web UI. In the “System” → “System Management” → “Deckhouse” → “Modules” section, open the
deschedulermodule and enable (or disable) the “Module enabled” toggle. Save changes.Example:

-
Via Deckhouse CLI (d8).
Use the d8 system module enable command for enabling, or d8 system module disable command for disabling the module (you need Deckhouse CLI (d8), configured to work with the cluster).
Example of enabling the module:
d8 system module enable descheduler -
Using ModuleConfig
descheduler.Set
spec.enabledtotrueorfalsein ModuleConfigdescheduler(create it if necessary);Example of a manifest to enable module
descheduler:apiVersion: deckhouse.io/v1alpha1 kind: ModuleConfig metadata: name: descheduler spec: enabled: true
How to configure the module...
You can configure the module in one of the following ways:
-
Via Deckhouse web UI.
In the “System” → “System Management” → “Deckhouse” → “Modules” section, open the
deschedulermodule and enable the “Advanced Settings” switch. Fill in the required fields in the “Configuration” tab or specify the module settings in YAML format on the “YAML” tab, excluding the settings section. Save the changes.Example:

You can also edit the ModuleConfig object
descheduleron the “YAML” tab in the module settings window (“System” → “System Management” → “Deckhouse” → “Modules”, open the moduledescheduler) by specifying the schema version in thespec.versionparameter and the necessary module parameters in thespec.settingssection. -
Via Deckhouse CLI (d8) (requires Deckhouse CLI (d8) configured to work with the cluster).
Edit the existing ModuleConfig
descheduler(for more details on configuring Deckhouse, see the documentation) by executing the following command:d8 k edit mc deschedulerMake the necessary changes in the
spec.settingssection. If necessary, specify the schema version in thespec.versionparameter. Save the changes.You can also create a file with manifest for ModuleConfig
deschedulerusing the example below. Fill in thespec.settingssection with the required module parameters. If necessary, specify the schema version in thespec.versionparameter.Apply the manifest using the following command (indicate the manifest file name):
d8 k apply -f <FILENAME>Example of a manifest for ModuleConfig
descheduler:apiVersion: deckhouse.io/v1alpha1 kind: ModuleConfig metadata: name: descheduler spec: version: 2 enabled: true settings: # Module parameters from the "Parameters" section below.
The module does not have any mandatory parameters.