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

Allow kubectl port-forward to use "services" #43570

Closed
akram opened this issue Mar 23, 2017 · 2 comments
Closed

Allow kubectl port-forward to use "services" #43570

akram opened this issue Mar 23, 2017 · 2 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. sig/cli Categorizes an issue or PR as relevant to SIG CLI.

Comments

@akram
Copy link
Contributor

akram commented Mar 23, 2017

kubectl port-forward should give the ability to forward trafic to a service not only a pod.

This is convenient for developer/debugging purposes and especially for non HTTP/SNI protocols that cannot use routes and that we don't want to expose through nodePort.

Implementation could be done using the /proxy url to send trafic to the service, and netcat/socat to handle it through a local port.

It may require to add an additional flag --service=service-name or use the svc/<svc_name> syntax

@liggitt liggitt changed the title Allow oc port-forward to use "services" Allow kubectl port-forward to use "services" Mar 23, 2017
@liggitt liggitt added kind/feature Categorizes issue or PR as related to a new feature. sig/cli Categorizes an issue or PR as relevant to SIG CLI. labels Mar 23, 2017
@liggitt
Copy link
Member

liggitt commented Mar 23, 2017

@kubernetes/sig-cli-feature-requests

@shahidhk
Copy link

shahidhk commented May 7, 2017

Duplicate of #15180

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. sig/cli Categorizes an issue or PR as relevant to SIG CLI.
Projects
None yet
Development

No branches or pull requests

4 participants