pixel-point / kube-forwarder

Easy to use Kubernetes port forwarding manager
https://kube-forwarder.pixelpoint.io/
MIT License
1.08k stars 183 forks source link

Listen on different local IP addresses for each service or cluster #37

Open dobesv opened 4 years ago

dobesv commented 4 years ago

One problem I run into is that because all the connections go through localhost, there are conflicts between the cookies / localstorage of the different sites. When I login to kubernetes-dashboard or grafana from one cluster, it messes up the login information for another so I have to login again.

It would be nice if I could specify the local address to listen on.

A workaround for this is to have multiple DNS names for localhost and access each site using a different localhost name. However, this means the little shortcut to launch the browser for a port forward won't work as-is, I would have to tweak the URL after the page opens to replace localhost with an alias.

dobesv commented 4 years ago

PR: https://github.com/pixel-point/kube-forwarder/pull/41

ghost commented 3 years ago

41 was merged