Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

support all options of kubectl port-forward #9

Open
2 of 3 tasks
kamilsk opened this issue Dec 24, 2018 · 1 comment
Open
2 of 3 tasks

support all options of kubectl port-forward #9

kamilsk opened this issue Dec 24, 2018 · 1 comment
Assignees
Milestone

Comments

@kamilsk
Copy link
Owner

kamilsk commented Dec 24, 2018

  • kubectl port-forward mypod 5000 6000
    Listen on ports 5000 and 6000 locally, forwarding data to/from ports 5000 and 6000 in the pod
  • kubectl port-forward mypod 8888:5000
    Listen on port 8888 locally, forwarding to 5000 in the pod
  • kubectl port-forward mypod :5000
    Listen on a random port locally, forwarding to 5000 in the pod
@kamilsk kamilsk added this to the forward 1.0 milestone Dec 24, 2018
@kamilsk kamilsk self-assigned this Dec 24, 2018
@kamilsk
Copy link
Owner Author

kamilsk commented May 14, 2019

do I need to generate some port or use default os behavior? how I can receive port number in last case?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant