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

support https_proxy #371

Open
amwais opened this issue Oct 18, 2019 · 7 comments · May be fixed by #2675
Open

support https_proxy #371

amwais opened this issue Oct 18, 2019 · 7 comments · May be fixed by #2675
Labels
enhancement New feature or request

Comments

@amwais
Copy link

amwais commented Oct 18, 2019

Hi!

Is there a way to connect k9s via https proxy?

The cluster i need k9s to connect to is behind a proxy, therefore I use "https_proxy= kubectl"

I'd really like to use k9s with it.

Many thanks!

@derailed derailed added the enhancement New feature or request label Oct 30, 2019
@alexanderbuth
Copy link

Hi @derailed, is there already a plan when proxy connection is going to be supported?
Thanks
Alex

@mklettner
Copy link

Need this feature too. Would save me lot of time.

@mklettner
Copy link

It's working with the correct env var:
export HTTPS_PROXY=
and if it is an SSL intercepting proxy, you have to use the insecure param:
k9s --insecure-skip-tls-verify

@jsoref
Copy link
Contributor

jsoref commented May 19, 2020

Fwiw, in general, most unix users expect the lowercase format. It's true that these variables don't match the rest of unix, but, that's history. https://unix.stackexchange.com/questions/212894/whats-the-right-format-for-the-http-proxy-environment-variable-caps-or-no-ca

@rocketraman
Copy link

I created #825 for general proxy support. As I explained in that issue https_proxy (or HTTPS_PROXY) isn't a great solution because the proxy used often differs between cluster contexts, and this makes it impossible to switch contexts inside k9s without restarting it with a different environment.

@rocketraman
Copy link

rocketraman commented Jul 28, 2020

BTW, the uppercase HTTPS_PROXY doesn't work for me either, on 0.21.4. Edit: nope, it did finally work after a couple of restarts.

@amwais
Copy link
Author

amwais commented Dec 15, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants