# Restarts after OneAgent update

**URL:** <https://community.dynatrace.com/t/restarts-after-oneagent-update/14179>\
**Category:** Open Q&A\
**Tags:** installation, updates, oneagent\
**Created:** [July 26, 2018, 11:28am UTC](https://community.dynatrace.com/t/restarts-after-oneagent-update/14179 "2018-07-26T11:28:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaefferlein](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/kaefferlein/32/9820_2.png) [@kaefferlein](https://community.dynatrace.com/u/kaefferlein)\
**Post date:** [July 26, 2018, 11:28am UTC](https://community.dynatrace.com/t/restarts-after-oneagent-update/14179/1 "2018-07-26T11:28:21Z")

</div>

Hi all

I have a question regarding the OneAgent update.

We have a bunch of services and processes and each of them require a restart after the OneAgent update. Is there some possibility to get rid of these restarts?

Would be really nice if there was a possibility to just deploy new Agents without having to restart everything 🙂

Regards

Anna

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [July 26, 2018, 12:27pm UTC](https://community.dynatrace.com/t/restarts-after-oneagent-update/14179/2 "2018-07-26T12:27:47Z")

</div>

Hi Anna,

unfortunately there is no way around the restarts. The injected agents for code level monitoring can only be updated if the process is restarted.

However there are many ways to automate the restart process so you don’t have to do the pesky manual work 🙂

If you have an OpenShift environment for example, you could use the [Dynatrace OneAgent Operator](https://www.dynatrace.com/news/blog/introducing-dynatrace-oneagent-operator/).

---

<div class="post-metadata">

**Author:** ![Joe\_Hoffman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joe_hoffman/32/30752_2.png) [@Joe\_Hoffman](https://community.dynatrace.com/u/Joe_Hoffman)\
**Post date:** [July 26, 2018, 3:57pm UTC](https://community.dynatrace.com/t/restarts-after-oneagent-update/14179/3 "2018-07-26T15:57:38Z")

</div>

Anna, Also keep in mind that there’s still lots of information that is collected even without the restart. The restart is only necessary to get the code level monitoring.

---

<div class="post-metadata">

**Author:** ![ayamaya](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ayamaya](https://community.dynatrace.com/u/ayamaya)\
**Post date:** [November 30, 2021, 10:30pm UTC](https://community.dynatrace.com/t/restarts-after-oneagent-update/14179/4 "2021-11-30T22:30:38Z")

</div>

Is it possible for these processes to restart automatically on kubernetes?
