Access the Pod of Computer Node

kubectl exec -it <pod-name> -- bash

Dump Memory

# get process id through jps
jps |grep TDDLLauncher

# dump memory
jmap -dump:live,format=b,file=heap.bin <pid>

Download the Dump File

# exit the Pod
exit

# copy memory dump file
kubectl cp <pod-name>:<dump-file-path-and-name> <local-file-name>

results matching ""

    No results matching ""