k3s/pkg/proxy
Kubernetes Submit Queue 923ef03d05 Merge pull request #48613 from dcbw/userspace-proxy-host-ip
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
2017-07-12 00:10:16 -07:00
..
config Remove no-longer used code in proxy/config 2017-05-10 12:16:35 +02:00
healthcheck run hack/update-all 2017-06-22 11:31:03 -07:00
iptables fix unit tests 2017-07-06 16:01:03 -07:00
userspace proxy/userspace: honor listen IP address as host IP if given 2017-07-07 11:17:17 -05:00
util autogenerated 2017-04-14 10:40:57 -07:00
winuserspace Use glog.*f when a format string is passed 2017-07-10 19:04:03 +08:00
BUILD autogenerated 2017-04-14 10:40:57 -07:00
OWNERS Trim down to the folks I think have real context 2016-11-15 08:48:31 +01:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
types.go kube-proxy: OnServiceUpdate takes pointers 2017-04-03 17:19:39 -07:00