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
Handle optional port-forwarding #94
Comments
I wonder if we could figure out the "skaffold deployed" pods automatically, and forward any ports automatically. |
@dlorenc we have code -> image which gives us any pod running that container. The one thing we're missing is really understanding the manifests going in and what resources we're deploying. You might want to port forward a service or ingress backend, which we wouldn't be able to do today. |
It's a very interesting problem, I think. Draft has Right now I can grab pod names from On the other hand, Despite that, it'd be nice to have a way to deal with the case of a simple project where I have one deployment and don't want to maintain non-portable/insecure scripts or service definitions, so I'd rather like to see a simple tool that parses Alternatively, it'd be also neat to have Just a few thoughts... |
I think that debugging it is a very important feature to be covered in dev. |
I started to go down the route of figuring out how to work with Skaffold and use a remote debugger (delve in my case).
The only thing I really needed from Skaffold was for it to be able to reconfigure a port-forwarding setup to one of the new pods that was created.
I think it could look something like:
Skaffold could pick the most recently deployed pod that matches the selectors, although some more precise detection of the "right pod" may be necessary.
The text was updated successfully, but these errors were encountered: