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

How to restart Dynatrace components on Kubernetes

annam
Visitor

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.

3 REPLIES 3

g_kat
Advisor

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:
https://docs.dynatrace.com/docs/shortlink/guides-k8s-update-uninstall-operator

 

George

"Jack of all trades and master of none, still better than master of one."

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

Islam_Zedan
Champion

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

https://docs.dynatrace.com/docs/shortlink/guides-k8s-update-uninstall-operator#update-ag-pods

 

Thanks,

Islam

Dynatrace Certified Professional - Dynatrace Partner - Yourcompass.ca

Featured Posts