-
I have an ASP.NET Core 8 application, containerized (using MSBuild, without dockerfile) running in AKS. It is stable (not crashing, not leaking) but the memory usage is higher than expected. So I wanted to investigate, using dotnet-counters and dotnet-dump. I've managed to connect to pod shell
but since the base image is ASP.NET Core runtime only, tools like What is recommended way to create and analyze dump from production application running on runtime (not SDK) image? Is it even possible? Or do I need to rebuild image with SDK base image and/or root user, and deploy it to production? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Beta Was this translation helpful? Give feedback.
-
[Triage] We recommend running .NET Monitor in your Kubernetes cluster in order to collect the dump from your application. There's some documentation on how to set up .NET Monitor with Kubernetes here. .NET Monitor images are published out of this repo: https://github.com/dotnet/dotnet-docker/blob/main/README.monitor.md. |
Beta Was this translation helpful? Give feedback.
[Triage] We recommend running .NET Monitor in your Kubernetes cluster in order to collect the dump from your application. There's some documentation on how to set up .NET Monitor with Kubernetes here. .NET Monitor images are published out of this repo: https://github.com/dotnet/dotnet-docker/blob/main/README.monitor.md.