Werk #14068: KUBE agent_kube: adding case when pod conditions are not available

Component Checks & agents
Title KUBE agent_kube: adding case when pod conditions are not available
Date Apr 29, 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.0 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Under some circumstances, the Kubernetes API server returns Pods which have no entry for status.conditions. The agent previously failed when this field was not available. This werk fixes this behaviour and the pod conditions service is not discovered if those are not present.

To the list of all Werks