The module works if the prometheus module is enabled and does not have any parameters to configure.

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…

Note that the configOverrides parameter of the InitConfiguration resource is used when installing Deckhouse, not ModuleConfig.

Set the monitoringCustomEnabled: true or monitoringCustomEnabled: false in the configOverrides parameter to explicitly enable or disable the module when installing Deckhouse.

Use the monitoringCustom section of the configOverrides parameter to configure the module when installing Deckhouse.

Set the spec.enabled module parameter to true or false to explicitly enable or disable the module.

Example of enabling the monitoring-custom module:

apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
  name: monitoring-custom
spec:
  enabled: true

Example of disabling the monitoring-custom module:

apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
  name: monitoring-custom
spec:
  enabled: false