strima / kubectl-superdebug

Extension of kubectl debug attaching the volume spec of your target container to your ephemeral debug pod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kubectl-superdebug

An extension of kubectl debug that not only attaches starts a debugging pod sharing a process namespace with a target container in a running pod, but additionally copies that target container's volume specification to that of the ephemeral container.

For more information, check out my blog post on this:

Limitations

This script was created as a proof-of-concept and for personal use. It is not ready to be industrialised or, say, submitted to the krew project as-is.

This script does not implement all kubectl debug functionality, but only extends the functionality where your debugging container shares a process namespace with a target container specified by --target.

About

Extension of kubectl debug attaching the volume spec of your target container to your ephemeral debug pod


Languages

Language:Shell 100.0%