Werk #18128: Fix exclusion of namespaces in kubernetes agent

Component Checks & agents
Title Fix exclusion of namespaces in kubernetes agent
Date Jul 16, 2025
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p9 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

On any 2.4.0 version, the option to exclude specific namespaces from monitoring in the kubernetes special agent did not exclude namespaces from the monitoring.

With this werk, the option will again exclude the matching namespaces as expected.

Incompatibility Hint

If you have entered any namespaces to be excluded in Setup > Agents > VM, cloud, container > Kubernetes > "Monitor namespaces", they will vanish from your monitoring after applying this werk.

To the list of all Werks