How to restart Dynatrace components on Kubernetes?

Hello

I’d like to know if there’s documentation on how to properly restart Dynatrace components (Webhook, Operator, OneAgent, ActiveGate, etc.) in a Kubernetes deployment.

I’m new to the platform and haven’t found any support links.

Thank you.

Hi @annam ,

They can be restarted as usual kubernetes components using kubectl rollour restart on the dynatrace namespace.

Keep in mind different components have different types:

  1. Operator - Deployment
  2. Webhooks - Deployment
  3. CSI Driver - DaemonSet
  4. OneaAgent - DaemonSet
  5. ActiveGate - StatefulSet

Also, here is some relevant documentation about components maintenance:

George

Hello,

You can use a simple command like the below to restart the AG

kubectl -n dynatrace rollout restart statefulset/<ACTIVEGATE-STATEFULSET-NAME>

Please check that from documentation

Thanks,

Islam

Hi George,

Thanks for your response. I tested the commands in my environment and they worked. Your comment about the different component types helped me better understand the process.

Best regards,

Ana