rancher-desktop icon indicating copy to clipboard operation
rancher-desktop copied to clipboard

LoadBalancers should bind to 0.0.0.0 and not just to 127.0.0.1

Open jandubois opened this issue 1 year ago • 0 comments

Problem Description

On Windows the Rancher Desktop Agent code binds Kubernetes LoadBalancer (and NodePort) services to 127.0.0.1.

At least the LoadBalancer port should be bound to the external interface as well, so it is reachable on the local network.

Proposed Solution

Just change the bind address.

Additional Information

The behaviour should be identical between platforms. On macOS the LoadBalancer services already bind to 0.0.0.0; I have not checked the NodePorts.

On Linux we currently don't have the capability to bind to external interfaces (see #576 and #964).

This should probably be configurable via Preference settings.

jandubois avatar Oct 05 '22 17:10 jandubois