Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 814a99a581221112967278547264b544cdc15173
https://github.com/tribe29/checkmk/commit/814a99a581221112967278547264b544c…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2023-03-22 (Wed, 22 Mar 2023)
Changed paths:
A .werks/14597
M cmk/special_agents/agent_kube.py
Log Message:
-----------
14597 FIX KUBE: Handle Pod with a non-existing Node
Previously, the Kubernetes special agent could raise the following error.
C+:
ValueError: Pod's (0a5bef2e... ) node is not present in the cluster
C-:
Typically, if a Pod is scheduled on a Node and the Node is deleted, then the Pod will no
longer
be assigned to that Node. However, f this fails it then results in the error of the
agent.
With this Werk, the Pod will show the NodeName of the non-existing Node. Since the Node
does not
exist, the Pod will not participate in any Node-specific aggregation.
CMK-12665
Change-Id: I5b3d55b15d5c5f0a245873aaf6c2cc1cc4042b2a