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 Edition Checkmk Raw (CRE)
Checkmk Version 2.3.0b1 2.2.0b1 2.1.0p25
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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