09 Sep 2024 06:51 PM - last edited on 10 Sep 2024 08:07 AM by MaciejNeumann
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.
09 Sep 2024 11:23 PM
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