Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 8372eca04e6e66cff06a36d36b86515bcee1030e
https://github.com/tribe29/checkmk/commit/8372eca04e6e66cff06a36d36b86515bc…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-01-16 (Sun, 16 Jan 2022)
Changed paths:
M cmk/base/plugins/agent_based/kube_cpu_usage.py
M cmk/base/plugins/agent_based/kube_memory.py
M cmk/base/plugins/agent_based/utils/kube_resources.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_cpu_usage.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_memory.py
Log Message:
-----------
kube_cpu_usage, kube_memory: Unify approaches
In order to achieve a uniform across cpu and memory, we introduce code
sharing between the two. This affects:
* discovery functions
* parse functions
* check functions
CMK-9358
Change-Id: Id8c704fbf6470a48469da49c26ef48f15c4033e1