06 Feb 2024 08:42 AM - last edited on 08 Mar 2024 12:54 PM by Karolina_Linda
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.
Solved! Go to Solution.
07 Feb 2024 04:22 PM
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
27 May 2024 03:32 PM
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?
https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-k8s/reference/dynakube-parameters -> autoUpdate)
Thanks!