# Use Annotations or Labels to Block Dynatrace Injection in Kubernetes

**URL:** <https://community.dynatrace.com/t/use-annotations-or-labels-to-block-dynatrace-injection-in-kubernetes/38785>\
**Category:** Container platforms\
**Tags:** cloud-automation, kubernetes\
**Created:** [March 10, 2023, 9:47pm UTC](https://community.dynatrace.com/t/use-annotations-or-labels-to-block-dynatrace-injection-in-kubernetes/38785 "2023-03-10T21:47:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [June 11, 2024, 3:05pm UTC](https://community.dynatrace.com/t/use-annotations-or-labels-to-block-dynatrace-injection-in-kubernetes/38785/4 "2024-06-11T15:05:48Z")

</div>

Are you sure the Code Modules are injected? You are using cloudNativeFullStack, so you will always see processes, just the deep monitoring (tracing) should not be available for pods not fulfilling the conditions.

---

_[View the full topic](https://community.dynatrace.com/t/use-annotations-or-labels-to-block-dynatrace-injection-in-kubernetes/38785)._
