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

Annotation to block Dynatrace injection in Openshift

stephen_brown
Newcomer

Hi,

We have Dynatrace installed in classic Full stack mode (no CSI driver) on Openshift.
For a small number of pods in a namespace we'd like have it so it runs without dynatrace.
I tried the following from https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-k8s/guides/operation/annotate

dynatrace.com/inject
oneagent.dynatrace.com/inject
Setting those to false seemed to do nothing. Is this supposed to work? Or just for the full stack cloud native mode?
Thanks,
Steve

2 REPLIES 2

dannemca
DynaMight Leader
DynaMight Leader

With Classic, you can define some Container Monitoring Rules in your Global Settings to avoid having Dynatrace in some namespaces.

https://docs.dynatrace.com/docs/platform-modules/infrastructure-monitoring/container-platform-monito...

I am really note sure about the inject annotation working for the Classic mode. As per doc page, it should works only for CloudNative and AppOnly

Site Reliability Engineer @ Kyndryl

Julius_Loman
DynaMight Legend
DynaMight Legend

It works only in applicationOnly and cloudNativeFullstack. It has no effect in classicFullStack. For classicfullstack you need the rules mentioned by @dannemca 

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

Featured Posts