Skip to content
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

Let us port forward services rather than just pods #946

Closed
mcandre opened this issue Oct 6, 2020 · 4 comments
Closed

Let us port forward services rather than just pods #946

mcandre opened this issue Oct 6, 2020 · 4 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@mcandre
Copy link

mcandre commented Oct 6, 2020

During software development, it slows everything down to have to adjust port forwards as the new pods roll out.

Some third party tools like kubefwd may help, but they're flakey at best.

Please allow port forwarding of services, instead of being forced to target specific pods, which are ephemeral.

@mcandre mcandre added the kind/feature Categorizes issue or PR as related to a new feature. label Oct 6, 2020
@eddiezane
Copy link
Member

@mcandre you should be able to port forward to a service directly with kubectl port-forward svc/nginx 8080:80

We currently have #686 open to fix an issue with pods being restarted.

@dougsland
Copy link
Member

Agreed @eddiezane. Probably good idea to close this one.

Reference:
https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/

@eddiezane
Copy link
Member

/close

@k8s-ci-robot
Copy link
Contributor

@eddiezane: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

4 participants