# OneAgent and Kuberntes annotation with automatic-injection=true

**URL:** <https://community.dynatrace.com/t/oneagent-and-kuberntes-annotation-with-automatic-injection-true/47554>\
**Category:** Container platforms\
**Tags:** oneagent, kubernetes\
**Created:** [September 9, 2024, 5:51pm UTC](https://community.dynatrace.com/t/oneagent-and-kuberntes-annotation-with-automatic-injection-true/47554 "2024-09-09T17:51:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ellery](https://avatars.discourse-cdn.com/v4/letter/e/5e9695/32.png) [@Ellery](https://community.dynatrace.com/u/Ellery)\
**Post date:** [September 9, 2024, 5:51pm UTC](https://community.dynatrace.com/t/oneagent-and-kuberntes-annotation-with-automatic-injection-true/47554/1 "2024-09-09T17:51:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [September 9, 2024, 10:23pm UTC](https://community.dynatrace.com/t/oneagent-and-kuberntes-annotation-with-automatic-injection-true/47554/2 "2024-09-09T22:23:17Z")

</div>

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.

> **[Configure monitoring for namespaces and pods](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/guides/deployment-and-configuration/monitoring-and-instrumentation/annotate)**
>
> Configure monitoring for namespaces and pods
