Create proxy connection (or other KubeAction)
See original GitHub issueSorry for keep asking these “nub” questions 😃 But I can’t figure out how to use the KubeActions (the enum values).
Trying to accomplish something similar to this for an existing pod: kubectl port-forward jupyter-notebook-7cfb95db6b-z2frd 8888:8888 -n default
Not sure if it’s working though ( #10 )
Any example is much appreciated, thank you.
Issue Analytics
- State:
- Created 4 years ago
- Comments:21 (13 by maintainers)
Top Results From Across the Web
How to Set Up and Use a Proxy Server
On Windows 10, click Settings > Network & Internet > Proxy. On Windows 8 systems, click Settings > Network Proxy. Scroll down to...
Read more >Use a proxy server in Windows
To set up a proxy server connection manually · Select the Start button, then select Settings > Network & internet > Proxy. ·...
Read more >Configure device proxy and Internet connection settings
Configure the proxy server manually using netsh command ... Use netsh to configure a system-wide static proxy. ... Open an elevated command line:....
Read more >Connecting to a proxy server
Click Settings and more > Advanced > Open proxy settings. Under Manual proxy setup, select Use a proxy server. Enter the address of...
Read more >How to Setup a Proxy Server
In Windows 10, select Settings > Network & Internet > Proxy. Within Windows 8, choose Settings > Network Proxy. In the Manual Setup...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The enum is just a way for us to categorise the URLs we extracted from the K8s API Swagger document (which lists the API paths and their associated models).
I don’t think we’ve actually implemented port-forward to be honest; the pieces are there but nobody’s needed it so far so there is no explicit support for it. If you look at how the
Exec
method is implemented inKubeClient.WebSockets
you could probably create a similar extension method for port-forwarding.I might have time to look at implementing this sometime next week but the weekend is just about over in my time zone 😃