-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 46210, 48607, 46874, 46598, 49240) Ipv6 support for ChooseHostInterface (part 3 of 3) **What this PR does / why we need it**: Provides IPv6 support for the ChooseHostInterface() and ChooseBindAddress() functions in the apimachinery's util/net/interface.go file. It strives to maintain backward compatibility with existing use of IPv4, but allow IPv6 to be used when available. This is part 3 of a set of PRs, and has been rebased on top of #46138, which is rebased on top of #46044. This is part of an overall effort to provide IPv6 support in the code, by addressing places where IPv4 logic exists and making it IPv6 ready. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #44848 **Special notes for your reviewer**: You can look at the other PRs for the commit description of what each of them does. I do see some unrelated test failures in those commits - appears to be flakes. **Release note**: ```release-noteNONE ```
c90fda82