Kubernetes assoziation pods, deployments, services ... to namespaces

checkmk version Enterprise 1.60p8, kubernetes version 1.15

we can discover namespaces and total num of pods as service of the cluster-host and pods, deployments, services etc. are discovered as hosts using piggy bag technologie.
How can I recognize to which namespace such automatic discovered hosts belong to?
For me it’s important to know if certain pods, services, deployments etc live in the correct namespace.
i.e. I’ve a couple of departments which all have a certain number of webservers to have running.
The regarding deployments have the same name + due to same configuration but they are going to be deployed in different namespaces (diff customers ressources). So I must check if each namespace has the regarding number o those pods. I need to create an alarm if the num of those pods in a certain namespace is to small.

Hi,
the assoziation of the created hosts to a namespace is what I am missing, too.

bye
David

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.