Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 9c060a01e6c7ce40b6e127d4ecda210445a7ca7e
https://github.com/tribe29/checkmk/commit/9c060a01e6c7ce40b6e127d4ecda21044…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2022-05-10 (Tue, 10 May 2022)
Changed paths:
A .werks/14069
M cmk/special_agents/agent_kube.py
Log Message:
-----------
14069 FIX KUBE agent_kube: namespace filtering and monitoring
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.
Change-Id: Ie90a88b9f92f18d183902969fa0485a631bb7a26