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

Selective agent version deploy in kuberbetes

jcamps
DynaMight Advisor
DynaMight Advisor

Hi all,

 

we have our dynatrace server with agent automatic updates disabled and a fixed version for new Hosts:

 

jcamps_1-1629786879584.png

 

In our cr.yaml in kubernetes we fix the one agent version with version (autoUpdate have the default value):

 

jcamps_0-1629786870075.png

 

Now I want to update the One Agent version for the kuberbetes nodes to the version "1.219.162.20210726-100948".

 

¿What are the exact steps to do this (dynatrace side and kubernetes side??

 

Note: Changing the version in cr.yaml and applying or delete + apply the configuration in kubernetes side doesn't work, the one agents remains in version 1.213.183.20210419-144301. With apply nothing happens and with delete + apply the new downloaded agent is still in version 1.213.183.20210419-144301:

 

10:18:29 Started agent deployment as a container, PID 3862845.
10:18:29 Downloading agent to /tmp/Dynatrace-OneAgent-Linux.sh via https://xst533.dynatrace-managed.com/e/cfccaeba-f2fc-45b7-932f-7e61fcd14c70/api/v1/deployment/instal...
10:18:57 Download complete
10:18:57 Downloaded version: 1.213.183.20210419-144301
10:18:57 Verifying agent installer signature
10:18:58 Verification successful
10:19:00 Checking root privileges...

 

Regards! Josep Maria

1 REPLY 1

ChadTurner
DynaMight Guru
DynaMight Guru

With the Oneagent Operator, all you need to do is set your current standard version as shown in the screen shot you provided. Once that is set to the desired version, the Dynatrace Oneagent Operator will poll that value ever 5 - 15 mins and will then begin to upgrade your AKS monitored Nodes. Additionally, all new deployments will get the version that you have now set as standard. 

-Chad