I want to know how folks are getting the core dump of the processes running inside a pod.
Came across this issue , but its not been actively worked on, i presume.
I am just starting on this, so havent tried myself.
You can use Core Dump Collector Agent which exist as a Daemon Pod/Sidecar container and collects data from the location where the core dumps are created and upload the same data o external storage. Each application running inside the pod will write the core dumps in a said location in its file structure. This location will be Mounted Persistent Volume within the Kubernetes cluster.
I is possible mount to an empty directory as well rather than Persistent Volume. The storage device can be anything: AWS Cloud Storage, Google Storage, Local File Storage, etc.
Here you can find great tutorial for that.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.