Collecting a Dump from A. Net Core App Running Inside a Container

I have a scenario in a .net core 2.1 app running inside a container with an image from deployed on a AKS cluster.

I'm trying to get a memory dump to find a memory leak on my app and found a way using .

Using kubectl exec I'm not reaching the container with root access so createdump don't have privileges to execeute. Did anyone here had a similar issue? Any clue on how to solve? Thanks

1

1 Answer

Just have a look at the links below. For the first one you should use kubeclt node-shell to connect to aks node. In the second one, sidecar pattern is used for dumping memory of the container. The third one you can dump and get the memory directly from clients browser

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest