Update the image of the OneAgent in Kubernetes

Hi,

I was wondering how I would be able to update the image of the OneAgent in Kubernetes.

We have a problem with aks version 1.26.2 that enables cgroups v2. We have enabled the feature flags in this article: https://community.dynatrace.com/t5/Dynatrace-tips/Introducing-cgroups-v2-support/m-p/188528#M422

But when we do that our application breaks. We are using the latest tag in our deployments but it doesn’t use the v1.253 version that fixes this issue and let’s us run the OneAgent pod unprivileged.

Running the OneAgent pod in privileged mode will break our application after every deploy.

Hey Jorik,

How are the OneAgent Pods being deployed currently? If you are using the Dynatrace Operator, the OneAgent Pod should have its lifecycle managed and be updated. If automatic updates are disabled, you can execute the following to manually update the OneAgent pods.

kubectl -n dynatrace rollout restart daemonset/<DYNAKUBE>-oneagent

Hello.

Is Automatic Updates setting affecting the containerized OneAgents. For example, if I put all worker Nodes on a HostGroup and set “Disable Automatic Updates”, is this safe that updates will be skipped?

If so, what is the meaning for this variable on the DynaKube?

DynaKube parameters for Dynatrace Operator — Dynatrace Docs → autoUpdate)

Thanks!