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

Kubernetes fails to start OneAgent POD on M2 Mac

aledevops1
Visitor

Currently when run the below commands and configuration, my OneAgent POD fails with the below error:

 
Spoiler
Back-off restarting failed container dynatrace-oneagent in pod kuberhome-oneagent-wr9x2_dynatrace(5404db1a-4a61-4657-8513-70922d41ac7e)
Readiness probe failed:

 

And logs show the below

 
Spoiler
23:46:32 Moving downloaded installer to /mnt/host_root/opt/dynatrace/oneagent/Dynatrace-OneAgent-Linux.sh
23:46:32 Verifying agent installer signature
23:46:36 Verification successful
23:46:36 Creating /mnt/host_root/opt/dynatrace/oneagent/agent/conf/dockerdeployment.conf
23:46:36 Downloaded version differs from installed version, will re-run installer
23:46:36 Deploying to: /mnt/host_root
23:46:36 Starting installer...
23:46:37 Checking root privileges...
23:46:37 Process real user: root, real ID: 0
23:46:37 Process effective user: root, effective ID: 0
23:46:37 OK
23:46:37 Error: Cannot determine architecture or architecture not supported: <AARCH64>

 

The commands I am using to run this are:

apiVersion: v1
data:
apiToken:
dataIngestToken:
kind: Secret
metadata:
name: kuberhome
namespace: dynatrace
type: Opaque

apiVersion: dynatrace.com/v1beta1
kind: DynaKube
metadata:
name: kuberhome
namespace: dynatrace
annotations:
feature.dynatrace.com/automatic-kubernetes-api-monitoring: "true"
spec:
apiUrl: https:// {environmentid}.live.dynatrace.com/api
networkZone: khome
oneAgent:
classicFullStack:
env:
- name: ONEAGENT_ENABLE_VOLUME_STORAGE
value: "false"
args:
- --set-host-group=khome
activeGate:
capabilities:
- routing
- kubernetes-monitoring
- dynatrace-api
resources:
requests:
cpu: 500m
memory: 512Mi
limits:
cpu: 1000m
memory: 1.5Gi
group: khome
1 REPLY 1

IzabelaRokita
Community Team
Community Team

Hello @aledevops1 ,
Do you still have an issue with those errors? Or maybe you've found a solution? Let me know, please! 🙂 

Featured Posts