Werk #13798: KUBE: Handle missing partition attribute

Component Checks & agents
Title KUBE: Handle missing partition attribute
Date Apr 11, 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.0b6 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Before, the Kubernetes special agent would crash with the message

[special_kube] Agent exited with code 1: 'NoneType' object has no attribute 'partition'

The bug affected Kubernetes users who deployed StatefulSets and specified the UpdateStrategy RollingUpdate, but no value for partition. With this werk, the agent no longer crashes and the partition value is set to 0.

To the list of all Werks