kubectl-debug icon indicating copy to clipboard operation
kubectl-debug copied to clipboard

run debug with mount opts

Open runzexia opened this issue 4 years ago • 2 comments

Thank you for writing this tool. I want to add a new function to mount the host's directory into debug container. Tools such as bcc tools need to mount the host directory to use。 ref https://github.com/iovisor/bcc/blob/c2e2a26b8624492018a14d5eebd4a50b869c911f/QUICKSTART.md#quick-start-guide

runzexia avatar Jun 23 '20 15:06 runzexia

It's a good idea to debug by bcc.

chengfen1987 avatar Jul 02 '20 00:07 chengfen1987

You can browse via /proc:

cd /proc/1/root/

johnmarcou avatar Aug 21 '20 02:08 johnmarcou