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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like