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

how to use kubectl portforward? #2309

Open
chenqiang19 opened this issue Dec 11, 2024 · 0 comments
Open

how to use kubectl portforward? #2309

chenqiang19 opened this issue Dec 11, 2024 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@chenqiang19
Copy link

I would like to be able to use diff port mapping. E.g. Using the kubectl CLI command form of kubectl port-forward --address=0.0.0.0 -n namespace pod/pod_name 8081:8080

using pf = portforward(api_instance.connect_get_namespaced_pod_portforward, name, namespace, ports=str(port)) and pf.socket(port)

this interface cannot implement my function!

@chenqiang19 chenqiang19 added the kind/feature Categorizes issue or PR as related to a new feature. label Dec 11, 2024
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

1 participant