Werk #14572: Prometheus: Deprecation of `kube-state-metrics` scrape target

Komponente Checks & agents
Titel Prometheus: Deprecation of `kube-state-metrics` scrape target
Datum 12.01.2023
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.2.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

The Prometheus agent provides the `kube-state-metrics` as a possible data source. This in turn would enable the following checks.

  • k8s_resources
  • k8s_namespaces
  • k8s_conditions
  • k8s_pod_container
  • k8s_service_info
  • k8s_daemon_pods

However, these checks are no longer actively maintained, since they have been superseded by their counterparts in the Kubernetes agent. Moreover, the `kube-state-metrics` target

  • does not support new versions of kube-state-metrics (v2.0.0-alpha / 2020-09-16 or newer),
  • does not provide the information required to fully support monitoring and
  • is stricly inferior to monitoring via the Kubernetes agent.
For this reason, this option will be removed in Checkmk 2.3.0.

If you are affected by this change, you need to setup your monitoring as per these instructions: https://docs.checkmk.com/latest/en/monitoring_kubernetes.html

Zur Liste aller Werks