Werk #14069: KUBE agent_kube: namespace filtering and monitoring
|Component||Checks & agents|
|Title||KUBE agent_kube: namespace filtering and monitoring|
|Date||May 9, 2022|
|Checkmk Edition||Checkmk Raw (CRE)|
|Checkmk Version||2.2.0b1 2.1.0b9|
|Compatibility||Compatible - no manual interaction needed|
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.