Add label to specify debug tools container for debugging #3472
Labels
area/debug
kind/feature-request
priority/p3
agreed that this would be good to have, but no one is available at the moment.
I would like to submit a PR to be able to select a different image for the duct-tape (extra tools for debugging). Specifically in go if your image is built with alpine it does not work with skaffold debug.
Expected behavior
Being able to specify my own debug tools init containers
Actual behavior
Debug tools init containers are hard coded
Information
I have thought some possible ways of doing this:
`skaffold debug --debug-tools-image='go=gcr.io/myownregistry/go-debug:xyz'
Like this. It will affect all go images marked for debugging.
skaffold debug --no-init-container
In this case init-container is not added. User is responsible for creating the dbg volume, and adding an init container that contains the tools and that copies them into the dbg mountpoint.
The text was updated successfully, but these errors were encountered: