Container platforms
Questions about Kubernetes, OpenShift, Docker, and more.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Apply new Dynakube oneAgent parameters, can the operator change the oneAgent monitoring mode (infra/fullstack)

henk_stobbe
DynaMight Leader
DynaMight Leader

Hello,

I  modified the 

.spec.oneAgent.cloudNativeFullStack  to 

.spec.oneAgent.hostMonitoring

I was expecting the oneAgent to be set to infra by the operator (from full stack)

Am I expecting to much )-;

 

KR Henk

 

 

2 REPLIES 2

t_pawlak
Leader

Hi Henk,
not really, but the expectation needs one extra step. When you change from .spec.oneAgent.cloudNativeFullStack to .spec.oneAgent.hostMonitoring, the Operator updates the monitoring mode, but pods that were already injected in cloud-native full-stack mode are not converted in place. According to Dynatrace docs, when switching from applicationMonitoring or cloudNativeFullstack to hostMonitoring, the previously instrumented pods need to be restarted. After that, you should see infra/host-monitoring-only behavior.

Hello @t_pawlak 

Nice explanation 👍
The key takeaway is that changing the DynaKube updates the mode for new pods, but already injected pods must be restarted to actually drop full‑stack injection and behave as host‑only — that detail is easy to miss. 😊
Dynatrace Professional Certified

Featured Posts