We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be extremely useful to have an example use of connect_get_namespaced_pod_portforward.
connect_get_namespaced_pod_portforward
I see https://github.com/tomplus/kubernetes_asyncio/blob/master/examples/example3.py contains an example for connect_get_namespaced_pod_exec, but it's not clear how to send a port forwarded request to the pod.
connect_get_namespaced_pod_exec
The text was updated successfully, but these errors were encountered:
Unfortunately it's not supported by the library yet.
Sorry, something went wrong.
Would be great to have a context manager for this like:
async with api.namespaced_port_forward(namespace, service, service_port, host_port): # do some stuff pass # port forward is closed
Any idea how to add the support for the port-froward in the library, I'd like to contribute, but I don't know where to start ?
It would be fantastic. You can take a look how this is implemented in the official library: https://github.com/kubernetes-client/python/blob/master/examples/pod_portforward.py
No branches or pull requests
It would be extremely useful to have an example use of
connect_get_namespaced_pod_portforward
.I see https://github.com/tomplus/kubernetes_asyncio/blob/master/examples/example3.py contains an example for
connect_get_namespaced_pod_exec
, but it's not clear how to send a port forwarded request to the pod.The text was updated successfully, but these errors were encountered: