• Dane LeBlanc's avatar
    Add check for IPv6 '::' when calculating kube-proxy's node IP · 6d71eb59
    Dane LeBlanc authored
    kube-proxy currently checks for a bind address of 0.0.0.0 (IPv4 all-zeros)
    when calculating kube-proxy's node IP, but it does not check for
    an address of '::' (IPv6 all-zeros). For either of those all-zeros
    addresses, the node IP should be determined based on the hostname,
    rather than using the address directly.
    
    Also added a helpful log message when the kube-proxy protocol is
    determined to be IPv6.
    
    fixes #52613
    6d71eb59
server_test.go 13 KB