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

Oneagent - Dynakube deployment fails for K8s arm64 nodes

amr_1509
Visitor

I am trying to deploy dynakube for arm64 nodes and i am getting the below error:

 

 

 

 

[2024-04-30 10:58:10.427 UTC] [0004cfb7] [info   ] [bootstrapper] Started agent deployment as a container, PID 315319
[2024-04-30 10:58:10.427 UTC] [0004cfb7] [error  ] [bootstrapper] Read-only mode is supported only with volume-based storage

 

Can someone provide some insights to fix this?

 

 

 

 

But the same configuration works just fine for amd64 nodes. I am using the image tailored for arm64 nodes. Here is my dynakube config:

 

 

 

 

apiVersion: dynatrace.com/v1beta1
kind: DynaKube
metadata:
  name: oa-arm
  namespace: dynatrace
  annotations:
    feature.dynatrace.com/automatic-kubernetes-api-monitoring: "true"
    feature.dynatrace.com/oneagent-readonly-host-fs: "false"
    feature.dynatrace.com/automatic-injection: "false"

spec:
  apiUrl: https://{environmentid}.live.dynatrace.com/api
  tokens: "XXXXXXX"
  skipCertCheck: false
  namespaceSelector:
    matchLabels:
      dynatrace.com/inject: "true"
  oneAgent:
    cloudNativeFullStack:
      image: "dynatrace/dynatrace-oneagent:1.277.204.20231129-185056"
      version: ""
      initResources: {}
      nodeSelector:
        kubernetes.io/arch: arm64
      tolerations:
        - effect: NoSchedule
          key: node-role.kubernetes.io/master
          operator: Exists
        - effect: NoSchedule
          key: node-role.kubernetes.io/control-plane
          operator: Exists
      oneAgentResources: {}
      args:
        - --set-monitoring-mode=fullstack
        - --set-host-group=oa-arm
      env:
        - name: ONEAGENT_ENABLE_VOLUME_STORAGE
          value: "false"
      autoUpdate: true
      priorityClassName: ""
      dnsPolicy: ""
      labels: {}

 

 

 

 

2 REPLIES 2

cyanogen
Participant

We got same issue with ARM64 arch ocp

Please help

gopher
Mentor

Hi AMR / Cyanogen, 

looks like a config issue around your storage type. 
probably related to the feature & setting environment 

ONEAGENT_ENABLE_VOLUME_STORAGE


cloud native full stack uses CSI compared to One Agent.
Perhaps try flipping back to default config and see how you go.
dynatrace-operator/assets/samples/dynakube/v1beta2/cloudNativeFullStack.yaml at main · Dynatrace/dyn...

Also make sure that you have the correct image type 

Peter_Ralston_0-1718866037638.png

Good luck

Featured Posts