Use Annotations or Labels to Block Dynatrace Injection in Kubernetes

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.