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

Component Checks & agents
Title KUBE: Fix crash upon specifying a resource of 1k Pods
Date Mar 13, 2023
Checkmk Version 2.3.0b1 2.2.0b1 2.1.0p25
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Affected 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.

To the list of all Werks