DarVar
DarVar

Reputation: 18124

Taking SpringBoot Heapdumps & Threaddumps when running on Pod

Is there any recommended approach to taking Heapdumps & Threaddumps for a Spring Boot app running in a Pod on AKS?

And how to download the dump afterwards to my desktop?

Upvotes: 2

Views: 2216

Answers (1)

Martin Theiss
Martin Theiss

Reputation: 1010

There are many ways to take a heapdump and threaddumps. The easiest way for a Spring Boot app should be the Actuator endpoint.

https://docs.spring.io/spring-boot/docs/current/actuator-api/htmlsingle/#heapdump

Upvotes: 2

Related Questions