Werk #20158: Kubernetes Nodes service: Correctly count nodes that are both control plane and worker nodes
| Component | Checks & agents | ||||||
| Title | Kubernetes Nodes service: Correctly count nodes that are both control plane and worker nodes | ||||||
| Date | Jun 29, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Incompatible - Manual interaction might be required | ||||||
| Checkmk versions & editions |
|
The Nodes service on the Kubernetes source host did not correctly count worker nodes that are also control plane nodes.
Previously, the logic was an either-or: A node was either a control plane or a worker node, based on whether or not it had a control plane role.
With this change, nodes serving both roles can be correctly counted if they both have respective node roles.
By default, the roles that the check looks for are:
- control plane:
control-plane,master - worker:
worker
This set of roles is configurable in the Kubernetes node count rule set with the ability to select worker roles being introduced with this change.
A node with any control plane role is counted as a control plane (as before).
A node which does not have any control plane role is counted as a worker node (as before).
A node with any worker role is now counted as a worker node while possibly also being counted as a control plane node (this change).
We mark this Werk as incompatible as users who have set levels on the number of worker nodes might need to re-evaluate those levels.