-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Port forward for all ready resources #5318
Comments
Hi @Richard87, thanks for opening up this issue! This definitely seems like a reasonable request, and I'll discuss it with our team. It seems like it would require a bit of restructuring about how things are currently done within skaffold, but I'll update here once I have more information :) |
Hey again, could you expand a bit more on your use case and how this functionality would help you? Does disabling the status check phase in skaffold by using |
Hi! I was not aware of For example, if there is a problem with the database schema, our web-app doesn't go "ready", therefore port-forwarding doesn't start, and it gets much harder to connect to the database to fix the issue, and sometimes, Skaffold gives up and deletes all resources before I finish fixing the issue. Or another example, if someone (probably me) have to work on different microservices at the same time, and havent checked out a different branch for each, and breaks one of the builds, I can't fix one at a time to get it up, everything have to be fixed before anything is available... |
Hmm, I got a whole bunch of |
For user usecase i think it makes sense to port-forward as resources are ready. Thanks for the request @Richard87 . We will try to bundle it with #4832 |
So, port-forwarding starts as soon as the requested resource is ready, or will it wait until all resources are ready? |
version 1.22 / #4832 did not solve my use case... Skaffold still waits for all resources to be ready before port-forwarding any resources, even ready resources. |
@Richard87 you're right, #4832 only modified the pod selection logic and doesn't really help with your issue. The code currently has the |
Thanks for keeping this on the radar, it would make my bad (coding) days way better! :) |
I don't want skaffold to wait for all resources to be ready before starting to port-forward
This would make it easier to troubleshoot broken builds in our case :)
Expected behavior
Open port-forwarding when resource is ready
Actual behavior
Waits for all resources to be ready before port-forwarding
Information
The text was updated successfully, but these errors were encountered: