Werk #13798: KUBE: Handle missing partition attribute

Component Checks & agents
Title KUBE: Handle missing partition attribute
Date Apr 11, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0b6 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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