Werk #14121: KUBE: Import annotations as host labels
Komponente | Checks & agents |
Titel | KUBE: Import annotations as host labels |
Datum | 28.04.2022 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.1.0b8 2.2.0b1 |
Level | Kleine Änderung |
Klasse | Neues Feature |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
By default, Checkmk does not import Kubernetes annotations. With this werk, this bevaviour can be configured via the option Import annotations as host labels in the rule Kubernetes. The option allows importing any Kubernetes annotation that is a valid Kubernetes label. These imported annotations are added as host labels to their respective piggyback host using the syntax cmk/kubernetes/annotation/{key}:{value}. You can further restrict the imported annotations by specifying a pattern which Checkmk searches for in the key of the annotation.