# Crash loop on pods when installing OneAgent

**URL:** <https://community.dynatrace.com/t/crash-loop-on-pods-when-installing-oneagent/42894>\
**Category:** Troubleshooting\
**Tags:** kubernetes\
**Created:** [December 22, 2023, 10:50am UTC](https://community.dynatrace.com/t/crash-loop-on-pods-when-installing-oneagent/42894 "2023-12-22T10:50:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![darynakovyrina](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/darynakovyrina/32/30846_2.png) [@darynakovyrina](https://community.dynatrace.com/u/darynakovyrina)\
**Post date:** [December 22, 2023, 10:50am UTC](https://community.dynatrace.com/t/crash-loop-on-pods-when-installing-oneagent/42894/1 "2023-12-22T10:50:00Z")

</div>

**Application-only monitoring**

If you get a crash loop on the pods when you install OneAgent, you need to increase the CPU memory of the pods directly&nbsp;in your DynaKube YAML configuration.

---

<div class="post-metadata">

**Author:** ![TomVGW](https://avatars.discourse-cdn.com/v4/letter/t/c5a1d2/32.png) [@TomVGW](https://community.dynatrace.com/u/TomVGW)\
**Post date:** [January 10, 2024, 8:05am UTC](https://community.dynatrace.com/t/crash-loop-on-pods-when-installing-oneagent/42894/2 "2024-01-10T08:05:21Z")

</div>

Hi&nbsp;darynakovyrina,

We are facing a similar problem.  
To which value did you increase?

Regards.

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [January 10, 2024, 2:58pm UTC](https://community.dynatrace.com/t/crash-loop-on-pods-when-installing-oneagent/42894/3 "2024-01-10T14:58:18Z")

</div>

Hi&nbsp;[@TomVGW](https://community.dynatrace.com/user/70569),

I would increase the oneagentresources limits. This is the dafult set in dynakube.yaml. We have changed only the cpu limits from 300ms to 500ms at a client.

oneAgentResources:  
requests:  
cpu: 100m  
memory: 512Mi  
limits:  
cpu: 300m  
memory: 1.5Gi

I hope it helps.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![TomVGW](https://avatars.discourse-cdn.com/v4/letter/t/c5a1d2/32.png) [@TomVGW](https://community.dynatrace.com/u/TomVGW)\
**Post date:** [January 11, 2024, 10:49am UTC](https://community.dynatrace.com/t/crash-loop-on-pods-when-installing-oneagent/42894/4 "2024-01-11T10:49:01Z")

</div>

Hi&nbsp;[@Mizső](https://community.dynatrace.com/user/47783)&nbsp;,

Thank you for the feedback.  
We have now configured the following limits

 ![TomVGW_0-1704969980740.png](https://global.discourse-cdn.com/dynatrace/original/1X/e3dd63ddbc639c2d78ac5b81e487a541cdf8c2c7.png)

Unfortunately, it doesn’t seem to help.  
Original config was a indeed cpu limit of 300m.  
Regards,  
Tom

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [January 11, 2024, 11:01am UTC](https://community.dynatrace.com/t/crash-loop-on-pods-when-installing-oneagent/42894/5 "2024-01-11T11:01:52Z")

</div>

Hi&nbsp;[@TomVGW](https://community.dynatrace.com/user/70569),

Try to increase gradually.&nbsp;😉

Best regards,

Mizső
