Werk #14069: KUBE agent_kube: namespace filtering and monitoring

Component Checks & agents
Title KUBE agent_kube: namespace filtering and monitoring
Date May 9, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b9 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The memory and CPU resources checks depend on the section from the Kubernetes API and optionally on the section from the cluster collector. For some namespace hosts, only the latter was available which led to a crash. This werk fixes this behavior and omits the cluster collector section if the API section is not available. Furthermore, this werk restricts hosts creation to namespaces that have at least one running or pending pod.

To the list of all Werks