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

Dynakube - BuildConfig

JR79
Guide

Hello,

When using the Dynakube operator, we're facing an issue when a pod is triggered by a Build in Openshift, it ends up failing when the agent is installed.

So far, we're not aware of a way to configure BuildConfig to add the inject false annotation to the pod.

It sound reasonable not to inject agent on build pods.

Any idea about this topic?

 

Maybe: @alphamikevictor@stefan_penner@Enrico_F  

2 REPLIES 2

Enrico_F
DynaMight Pro
DynaMight Pro

I assume this is with spec.oneAgent.applicationMonitoring configured for the Dynakube?

If so then the only workaround (IMO) is to move the builds into a separate, unmonitored namespace (this is how we solved this issue).

Enrico_F
DynaMight Pro
DynaMight Pro

FYI: For builds that aren't triggered via BuildConfigs perhaps another solution would be to annotate one of the owner objects of the actual build (e.g. a Tekton Pipeline) with dynatrace.com/inject: "false" (if such an object exists) as the annotation will then get propagated to the build pod preventing its injection.

 

Featured Posts