Werk #14597: KUBE: Handle Pod with a non-existing Node

Component Checks & agents
Title KUBE: Handle Pod with a non-existing Node
Date Mar 21, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p25
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Previously, the Kubernetes special agent could raise the following error.

ValueError: Pod's (0a5bef2e... ) node is not present in the cluster

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.

To the list of all Werks