<p>Is there any recommended approach to taking Heapdumps &amp; Threaddumps for a Spring Boot app running in a Pod on AKS?</p>
<p>And how to download the dump afterwards to my desktop?</p>

<p>There are many ways to take a heapdump and threaddumps. The easiest way for a Spring Boot app should be the Actuator endpoint.</p>
<p><a href="https://docs.spring.io/spring-boot/docs/current/actuator-api/htmlsingle/#heapdump" rel="nofollow noreferrer">https://docs.spring.io/spring-boot/docs/current/actuator-api/htmlsingle/#heapdump</a></p>
