Werk #13804: KUBE: add cmk/kubernetes/label/ to host label keys
Component | Checks & agents |
Title | KUBE: add cmk/kubernetes/label/ to host label keys |
Date | Apr 19, 2022 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.2.0b1 2.1.0b6 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Incompatible - Manual interaction might be required |
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.