Werk #11039: Kubernetes: new option to add a namespace prefix
Component | Checks & agents |
Title | Kubernetes: new option to add a namespace prefix |
Date | May 8, 2020 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.0.0i1 |
Level | Trivial Change |
Class | New Feature |
Compatibility | Compatible - no manual interaction needed |
The special agent for Kubernetes now supports an option to add the namespace of namespaced objects as a prefix to the hostname in Checkmk. This makes it possible to distinguish objects with the same name in different namespaces. A pod inside the namespace "prod" with the name "redis" would then e.g. be added with the hostname "prod_pod_redis". You don't need to activate this option if you don't use namespaces in your cluster.