Werk #14343: KUBE agent_kube: change ContainerTerminatedState's start and end time to be optional

Komponente Checks & agents
Titel KUBE agent_kube: change ContainerTerminatedState's start and end time to be optional
Datum 09.06.2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.1.0p3 2.2.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Previously, the Kubernetes special agent raised the error [special_kube] TypeError: Can not convert to timestamp: 'None' of type <class 'NoneType’> when a terminated container had no information about either its start or finish time. With this werk, the assumption that the start and finish times are always set is removed, and is thus consistent with the Kubernetes specification. The check plug-in is also modified to display the time-related information depending on what fields are returned.

Zur Liste aller Werks