-
-
Notifications
You must be signed in to change notification settings - Fork 156
Description
What would you like to be added?
I would like to like to have the ability to disable the k8s-lens-proxy.
A side from "i don't know, why the proxy exists" in general, it causes trouble in context of pod shell and terminal.
Background: I have to reach a private Kubernetes Cluster which is accessible behind a SSH Bastion Jump host.
Instead working with local port forward, I'm using the ssh -D to setup an SOCKS5 proxy. The produces is described here: https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/
But this is not compatible with kubectl proxy or with the lens proxy, because I got an error in Lens:
error: unable to upgrade connection: error dialing backend: dial tcp: lookup ..eks.amazonaws.com: no such host
Thats true, because the hostname is only resolvable from the bastion host, but not from the local host.
But invoking kubectl port-forward and kubectl exec outside of Lens works. I also guess there might be an bug in Kubernetes proxy function.
But I see no reasons for using the proxy construct in general.
Why is this needed?
No response