# How to restart Dynatrace components on Kubernetes?

**URL:** <https://community.dynatrace.com/t/how-to-restart-dynatrace-components-on-kubernetes/51664>\
**Category:** Container platforms\
**Tags:** activegate, dynatrace-operator, oneagent, kubernetes\
**Created:** [May 15, 2025, 10:57pm UTC](https://community.dynatrace.com/t/how-to-restart-dynatrace-components-on-kubernetes/51664 "2025-05-15T22:57:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![annam](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@annam](https://community.dynatrace.com/u/annam)\
**Post date:** [May 15, 2025, 10:57pm UTC](https://community.dynatrace.com/t/how-to-restart-dynatrace-components-on-kubernetes/51664/1 "2025-05-15T22:57:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![g\_kat](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/g_kat/32/34573_2.png) [@g\_kat](https://community.dynatrace.com/u/g_kat)\
**Post date:** [May 16, 2025, 8:20am UTC](https://community.dynatrace.com/t/how-to-restart-dynatrace-components-on-kubernetes/51664/2 "2025-05-16T08:20:31Z")

</div>

Hi [@annam](https://community.dynatrace.com/user/90506) ,

They can be restarted as usual kubernetes components using **kubectl rollour restart** on the&nbsp; **dynatrace** &nbsp;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:

> **[Update or uninstall Dynatrace Operator](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/guides/deployment-and-configuration/updates-and-maintenance/update-uninstall-operator)**
>
> Upgrade paths, update procedures, and uninstallation guide for Dynatrace Operator.

George

---

<div class="post-metadata">

**Author:** ![Islam\_Zedan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/islam_zedan/32/31999_2.png) [@Islam\_Zedan](https://community.dynatrace.com/u/Islam_Zedan)\
**Post date:** [May 16, 2025, 8:27am UTC](https://community.dynatrace.com/t/how-to-restart-dynatrace-components-on-kubernetes/51664/3 "2025-05-16T08:27:49Z")

</div>

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

> **[Update or uninstall Dynatrace Operator](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/guides/deployment-and-configuration/updates-and-maintenance/update-uninstall-operator)**
>
> Upgrade paths, update procedures, and uninstallation guide for Dynatrace Operator.

Thanks,

Islam

---

<div class="post-metadata">

**Author:** ![annam](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@annam](https://community.dynatrace.com/u/annam)\
**Post date:** [May 16, 2025, 5:35pm UTC](https://community.dynatrace.com/t/how-to-restart-dynatrace-components-on-kubernetes/51664/4 "2025-05-16T17:35:03Z")

</div>

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
