31 Jan 2024 12:50 PM
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
Solved! Go to Solution.
31 Jan 2024 08:00 PM - edited 31 Jan 2024 08:02 PM
With Classic, you can define some Container Monitoring Rules in your Global Settings to avoid having Dynatrace in some namespaces.
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
01 Feb 2024 05:51 AM
It works only in applicationOnly and cloudNativeFullstack. It has no effect in classicFullStack. For classicfullstack you need the rules mentioned by @dannemca