12 Feb 2025 03:15 PM - edited 12 Feb 2025 03:20 PM
We are running our Production Workload on Fargate with x86 and Runtime Injection of Paas Agent
Now we want to cut our Bill and switch to ARM, but it seems not to be possible with Dynatrace
const dynatrace = taskDefinition.addContainer('oneagent-container', {
image: ContainerImage.fromRegistry('public.ecr.aws/docker/library/alpine:3'),
memoryReservationMiB: 128,
essential: false,
secrets: {
DT_API_URL: Secret.fromSsmParameter(props.dynatrace.baseUrl),
DT_PAAS_TOKEN: Secret.fromSsmParameter(props.dynatrace.paasToken),
},
environment: {
DT_ONEAGENT_OPTIONS: 'flavor=default&include=all',
},
entryPoint: ['/bin/sh', '-c'],
command: [
`ARCHIVE=$(mktemp) && wget -O $ARCHIVE "$DT_API_URL/v1/deployment/installer/agent/unix/paas/latest?Api-Token=$DT_PAAS_TOKEN&$DT_ONEAGENT_OPTIONS" && unzip -o -d /opt/dynatrace/oneagent $ARCHIVE && rm -f $ARCHIVE`
],
});
Solved! Go to Solution.
13 Feb 2025 06:44 PM
Attaching this documentation from Dynatrace in case it could help.
Application observability with pod runtime injection — Dynatrace Docs
15 Feb 2025 07:10 PM - edited 15 Feb 2025 07:33 PM
Thank you, looks like the arch parameter will solve my problem.
Was able to test it on staging and it works
Didn't look at Kubernetes Documentation