GoogleContainerTools / skaffold

Easy and Repeatable Kubernetes Development
https://skaffold.dev/
Apache License 2.0
14.94k stars 1.62k forks source link

Configure port-forwarding in `skaffold init` #4908

Open nkubala opened 3 years ago

nkubala commented 3 years ago

we might be able to use some heuristics to detect if users have ports they want forwarded in their applications and set that up for them in skaffold init. for example, if a k8s deployment YAML has a containerPort declared, it might be nice to automatically forward this to the local host.

Richard87 commented 3 years ago

I second this.

I am trying to use Skaffold to launch all my microservices at once, and if one fails, it makes troubleshooting harder then it needs to be, because of no port-forwarding before all services are up, and because Skaffold deletes all services when one fails.

tejal29 commented 2 years ago

Thanks Richard for the feedback. We don't have this feature planned soon. Will update the ticket when team picks it up