Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Better entrypoint override for interactive mode #1122
Comments
|
@ralfthewise thanks for opening this issue! Yes sounds good, I think we can change that, would be great if you could open a PR for this (you can simply change the default ENTRYPOINT and CMD in this file https://github.com/devspace-cloud/devspace/blob/master/cmd/dev.go#L648). |
|
Sounds good, will do. |
Is your feature request related to a problem?
It's related to slow redeployments around interactive mode.
Which solution do you suggest?
When running
devspace dev -ithe entrypoint override could be something like this:Which alternative solutions exist?
Manually provide the interactive config I pasted in the previous section.
Additional context
Doing
sleep 999999999as the entrypoint takes a long time for the pod to terminate, becausesleepdoesn't handleSIGTERM- https://superuser.com/a/1299463/157978As is I just wait 10+ seconds for the pod to terminate before the new one is launched:
I'm happy to take a whack at this myself if you want, just wasn't sure if it might a quick fix for someone more familiar with the code (assuming it's a change worth adding).
/kind feature