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

One agent - Kuberntes annotation : automatic-injection=true

Ellery
Helper

Hello, I'd like to inquire again. We've observed that one-agent installation now uses Helm and applies the annotation: /automatic-injection=true, which results in the creation of a new pod (albeit small) and seemingly an additional pod for each deployment. What does /automatic-injection do exactly? What do I lose if I set it to false in the annotation? I ask this because when I run a 'kubectl describe node', it displays the pods and within the limits and requests, it shows the values of the init container added by one-agent and not the actual values defined in my pod.

1 REPLY 1

Fin_Ubels
Dynatrace Champion
Dynatrace Champion

Hey Ellery, without injection we won't be able to get more in depth data from processes running within the containers, things like traces or technology specific metrics. So turning off automatic injection means you'd either need to specify manually which pods/namespaces to monitor or bake the agent directly into containers.

I believe this documentation provides a bit more information on the topic as well.
https://docs.dynatrace.com/docs/shortlink/annotate#monitor-only-specific-pods

Featured Posts