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

Error from server (BadRequest): error when creating "Dynakube_sit.yaml"

Vikas_g1997
Dynatrace Guide
Dynatrace Guide

Hi team,
For the customer channel, we are facing the error below while we tried to install it, not defining the image tag. Can anyone help us with it?


Error from server (BadRequest): error when creating "Dynakube_sit.yaml": DynaKube in version "v1beta1" cannot be handled as a DynaKube: strict decoding error: unknown field "spec.dynatraceApiRequestThreshold", unknown field "spec.oneAgent.cloudNativeFullStack.useCSIDriver".apiVersion: dynatrace.com/v1beta1kind: DynaKubemetadata:  name: dynakube  namespace: dynatracespec:  apiUrl:   dynatraceApiRequestThreshold: 15  skipCertCheck: true  tokens: cn-hb3-sit-oms-aks-sbn  activeGate:    capabilities:      - routing      - kubernetes-monitoring      - dynatrace-api    image: public.ecr.aws/dynatrace/dynatrace-activegate    replicas: 1    resources:      limits:        cpu: 1000m        memory: 1.5Gi      requests:        cpu: 500m        memory: 512Mi  oneAgent:    cloudNativeFullStack:      autoUpdate: true      image: public.ecr.aws/dynatrace/dynatrace-oneagent      codeModulesImage: public.ecr.aws/dynatrace/dynatrace-codemodules      useCSIDriver: true       tolerations:      - effect: NoSchedule        key: node-role.kubernetes.io/master        operator: Exists      - effect: NoSchedule        key: node-role.kubernetes.io/control-plane        operator: Exists

1 REPLY 1

p_devulapalli
Champion

Hi @Vikas_g1997 , looks like you are use incorrect parameters in your dynakube yaml file. For example "spec.dynatraceApiRequestThreshold" seems to be part of API version v1beta2 but you seem to be using it with v1beta1. Please verify the supported parameters from the below link and update.

DynaKube parameters for Dynatrace Operator - Dynatrace Docs

Phani Devulapalli

Featured Posts