Werk #19306: inventory_kube_statefulset: Fix crash when parsing update strategy
| Component | Checks & agents | ||||||
| Title | inventory_kube_statefulset: Fix crash when parsing update strategy | ||||||
| Date | Feb 16, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Werk #15084 introduced support for the maxUnavailable field for
StatefulSets with RollingUpdate.
The value is displayed in the inventory tree for StatefulSets.
A crash was later discovered which occurred when the field returned an integer rather than a string.
This resulted in a crash of the Kubernetes special agent with a
ValidationError.
This bug is now fixed.
Notably, Kubernetes v1.35 enables the feature gate MaxUnavailableStatefulSet
by default (graduated to Beta), causing this bug to be seen more commonly.
No interaction is required from users to make use of this fix.