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

Annotation or Label to block Dynatrace Injection

Stephen_Schaff
Visitor

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.

1 REPLY 1

Julius_Loman
DynaMight Legend
DynaMight Legend

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.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts