devspace-sh / devspace

DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.
https://devspace.sh
Apache License 2.0
4.3k stars 360 forks source link

`devspace dev` for initContainers #2360

Open siredmar opened 1 year ago

siredmar commented 1 year ago

Is your feature request related to a problem? Yes, my problem is that i need to debug a init container. This isn't possible right now as simply can't select the init container. My current kind of workaround is to temporary modify the deployment and move the "initContainer" to "containers". But this is not a great solution, because i have to modify the deployments :-1:

Which solution do you suggest? Allowing the user to select if the dev section is for containers or init containers.

Which alternative solutions exist? None that i know of.

Additional context

$ devspace --version               
devspace version 6.1.1

/kind feature

pratikjagrut commented 1 year ago

@siredmar Thanks for creating this issue. The feature looks quite useful. We'll try to implement it asap.