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 prometheusMetricsAdapterEnabled: true or prometheusMetricsAdapterEnabled: false in the configOverrides parameter to explicitly enable or disable the module when installing Deckhouse.

Use the prometheusMetricsAdapter 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 prometheus-metrics-adapter module:

apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
  name: prometheus-metrics-adapter
spec:
  enabled: true

Example of disabling the prometheus-metrics-adapter module:

apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
  name: prometheus-metrics-adapter
spec:
  enabled: false

The module works if the prometheus module is enabled. Generally, no configuration is required.

Parameters

  • highAvailability — manually enable/disable the high availability mode. By default, this parameter is configured automatically (additional information about the HA mode for modules is available here).