2. Retrieve the OneAgent Version or set the OneAgent Version in your tenant to image: “dynatrace/dynatrace-oneagent:1.309.73.20250423-112845”
There are a few ways to find or set the available OneAgent versions:
Method 1: Dynatrace UI (Recommended )
Log in to your Dynatrace environment (SaaS or Managed).
Navigate to Settings> Updates > OneAgent.
You can define the current version latest OneAgent Versions to be used, which is 1.309.
Method 2: Dynatrace API (Good for Automation)
You can use the Dynatrace API to query available OneAgent versions. The specific endpoint may vary slightly depending on your Dynatrace version and API generation used, but a common one (using API v1) is:
Example (Linux PaaS installer):GET {your-environment-id}.live.dynatrace.com/api/v1/deployment/installer/agent/versions/unix/paas (Replace {your-environment-id} with your actual environment ID).
You’ll need an API token with the “Read settings” (settings.read) permission.
Alternatively, check the newer Settings API (/api/v2/settings/objects) for schemas related to OneAgent updates if the above endpoint is deprecated in your version.
3. Redeploy the Operator to pull in the latest OneAgent versions defined in Global Settings.
Go to Updates > OneAgent, you can hardcode the specific version see below:
3.1 Hardcode the Specific OneAgent Version in dynakube.yaml
The dynakube.yaml file defines the Custom Resource for the Dynatrace Operator. You specify the OneAgent version within the spec.oneAgent section, under the specific deployment mode you are using (e.g., classicFullStack, cloudNativeFullStack).
Here are examples for common deployment modes:
Example for classicFullStack:
apiVersion: dynatrace.com/v1beta1<br>kind: DynaKube<br>metadata:<br> name: dynakube # Your DynaKube instance name<br> namespace: dynatrace # Your Dynatrace namespace<br>spec:<br> apiUrl: https://your-environment-id.live.dynatrace.com/api # Replace with your API URL<br> oneAgent:<br> classicFullStack:<br> # >>> HARDCODE VERSION HERE <<<<br> version: "1.278.123.20240420-100000"<br> # Tolerations, node selectors, arguments etc. might also be here<br> # ...<br> # Other configurations like ActiveGate, routing, etc.<br> # ...
Example for cloudNativeFullStack:
apiVersion: dynatrace.com/v1beta1<br>kind: DynaKube<br>metadata:<br> name: dynakube # Your DynaKube instance name<br> namespace: dynatrace # Your Dynatrace namespace<br>spec:<br> apiUrl: https://your-environment-id.live.dynatrace.com/api # Replace with your API URL<br> oneAgent:<br> cloudNativeFullStack:<br> # >>> HARDCODE VERSION HERE <<<<br> version: "1.278.123.20240420-100000"<br> # Tolerations, node selectors, arguments etc. might also be here<br> # ...<br> # Other configurations like ActiveGate, routing, etc.<br> # ...
If you have any questions, please start a chat or create a Support ticket and mention ticket OA-46324
I’m sorry, but they’re not quite ready yet. Also, it looks like OneAgent 313 has only been released to internal tenants, but I’m hoping it will be ready soon.