Werk #14567: KUBE agent_kube: Handle custom Pod condition on GKE

Component Checks & agents
Title KUBE agent_kube: Handle custom Pod condition on GKE
Date Nov 15, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p17 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously, the Kubernetes special agent would exit with the following message:

[special_kube] Agent exited with code 1: Can not convert to timestamp: 'None' of type <class 'NoneType'>

This would occur if there was a custom Pod condition present in the cluster with type cloud.google.com/load-balancer-neg-ready. With this werk, the error no longer occurs.

To the list of all Werks