Werk #14593: KUBE: Fix crash upon specifying a resource of 1k Pods

Komponente Checks & agents
Titel KUBE: Fix crash upon specifying a resource of 1k Pods
Datum 13.03.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p25 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The Kubernetes special agent would crash with the following error

[special_kube] Agent exited with code 1: Invalid value for `pods`, value is not a valid integer (type=type_error.integer)

With this change, the error is fixed.

Zur Liste aller Werks