Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #14570: Kube: Fix crash upon specifying power-of-two unit with CPU resources

Component Checks & agents
Title Kube: Fix crash upon specifying power-of-two unit with CPU resources
Date Jan 3, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p19 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

Previously, specifying a unit such as

resources:
  cpu: 200Mi

inside an API object would result in crash. With this change, the correct number of CPU cores are computed instead.

To the list of all Werks