• Kubernetes Submit Queue's avatar
    Merge pull request #48613 from dcbw/userspace-proxy-host-ip · 923ef03d
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 47232, 48625, 48613, 48567, 39173)
    
    proxy/userspace: honor listen IP address as host IP if given
    
    Allows the proxier to be used on an interface that's not the default route,
    otherwise hostIP gets set to the default route interface even if that's
    not what the user intended.
    
    If listen IP isn't given, falls back to previous behavior.
    
    ```release-note
    To allow the userspace proxy to work correctly on multi-interface hosts when using the non-default-route interface, you may now set the `bindAddress` configuration option to an IP address assigned to a network interface.  The proxy will use that IP address for any required NAT operations instead of the IP address of the interface which has the default route.
    ```
    
    @kubernetes/sig-network-misc @thockin @wojtek-t
    923ef03d
Name
Last commit
Last update
..
config Loading commit data...
healthcheck Loading commit data...
iptables Loading commit data...
userspace Loading commit data...
util Loading commit data...
winuserspace Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...
types.go Loading commit data...