Werk #13804: KUBE: add cmk/kubernetes/label/ to host label keys

Komponente Checks & agents
Titel KUBE: add cmk/kubernetes/label/ to host label keys
Datum 19.04.2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.1.0b6 2.2.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

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.

Zur Liste aller Werks