Werk #13804 · Apr 19, 22
KUBE: add cmk/kubernetes/label/ to host label keys
Incompatible change. Existing setups may behave differently after upgrading. Review the details below before updating.
This fix affects users who use Kubernetes host labels.
Previously, labels which are set by Kubernetes would be mapped one-to-one to Checkmk labels. This would mean that setting labels in Kubernetes could overwrite Checkmk labels, which should not be overwritten. For instance, setting the label cmk/os_family=something would incorrectly set the corresponding Checkmk label to cmk/os_family:something. With this werk, Checkmk labels are prefixed with cmk/kubernetes/label/. For example, Checkmk now sets the aforementioned label to cmk/kubernetes/label/cmk/os_family:something.
User-defined rules with old host labels need to be updated.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.2.0b1CommunityProUltimateUltimate + MT
- 2.1.0b6CommunityProUltimate + MT