10 Mar 2023
09:47 PM
- last edited on
13 Mar 2023
07:48 AM
by
MaciejNeumann
I have a pod (running an Octopus Deploy Tentacle) that keeps getting Dynatrace injected into it. I have tried excluding the namespace in the Dynatrace UI (Container Monitoring Rules), but that has no effect.
I am wondering if there is a Annotation or Label I can apply to my pod that Dynatrace would look at and then choose to ignore the pod?
NOTE: I tried adding the annotation of feature.dynatrace.com/automatic-injection set to "false". But it had no effect.
Solved! Go to Solution.
Hi!
You need to put different annotations, see https://www.dynatrace.com/support/help/shortlink/dto-config-k8s#annotate
However this works only for CloudNativeFullstack or ApplicationOnly depolyments of Dynatrace operator. In this case DT will not touch the pods at all. Other options such as container monitoring rules or disabling the process monitoring will still inject code modules, but will disable them.