kubernetes/cmd/kube-proxy
Antonio Ojea 56df70b639 kube-proxy detect IP family based on nodeIP
We were detecting the IP family that kube-proxy should use
based on the bind address, however, this is not valid when
using an unspecified address, because on those cases
kube-proxy adopts the IP family of the address reported
in the Node API object.

The IP family will be determined by the nodeIP used by the proxier
The order of precedence is:
1. config.bindAddress if bindAddress is not 0.0.0.0 or ::
2. the primary IP from the Node object, if set
3. if no IP is found it defaults to 127.0.0.1 and IPv4

Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2020-06-17 14:51:35 +02:00
..
app kube-proxy detect IP family based on nodeIP 2020-06-17 14:51:35 +02:00
BUILD remove pkg/version and some of redundant copies of it 2019-09-16 16:24:35 -07:00
OWNERS Add OWNERS file for cmd/kube-proxy 2019-04-26 17:22:29 -07:00
proxy.go remove pkg/version and some of redundant copies of it 2019-09-16 16:24:35 -07:00