cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Not seeing k8 labels in process view

timothy_d_krupi
Newcomer

Hello -

We've recently deployed the oneagent operator to our kubernetes cluster, and I was under the impression that OneAgent would pick up custom labels and annotations we put on our pods. However, I only see a few k8 specific items at the process level when viewing in the console (see screenshot). Am I doing something wrong, or did I misread the documentation?

We're also running Istio, and have created the necessary service entries for the operator.

Thanks!

 

1 REPLY 1

david_n
Inactive

Hello Tim,

It looks like you need to change the permissions for your pods in order to gather that information. Here is the snippet from the documentation.

"Dynatrace automatically detects all labels attached to pods at application deployment time. All you have to do is grant sufficient privileges to the pods that allow for reading the metadata from the Kubernetes REST API endpoint. This way the OneAgent code-modules can read these labels directly from the pod."

https://www.dynatrace.com/support/help/technology-support/cloud-platforms/kubernetes/further-integrations/leverage-tags-defined-in-kubernetes-deployments/

Thanks,
David Nicholls


Featured Posts