kubernetes/cmd
Kubernetes Submit Queue daa0d81703 Merge pull request #52614 from leblancd/v6_proxy_bind_address
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add check for IPv6 '::' when calculating kube-proxy's node IP

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



**What this PR does / why we need it**:
This PR adds a check for a bind address of IPv6 '::' (all zeros) when kube-proxy is calculating its node IP,
similar to what is done for a bind address of IPv4 0.0.0.0. For either of these all-zeros addresses,
kube-proxy should derive the node IP based on the hostname, rather than use the bind address
directly.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #52613

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2017-10-04 19:55:04 -07:00
..
clicheck Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
cloud-controller-manager All cloud-providers not required out-of-tree 2017-09-27 15:31:15 +01:00
gendocs Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
genkubedocs Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
genman Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
genswaggertypedocs Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
genutils Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
genyaml Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
gke-certificates-controller Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
hyperkube apiservers: add synchronous shutdown mechanism on SIGTERM+INT 2017-08-15 09:17:18 +02:00
importverifier Fix prefixing bug in import verifier 2017-08-29 12:17:08 -07:00
kube-apiserver Merge pull request #53394 from p0lyn0mial/cleanup_kubeapi_admission_initializer 2017-10-04 07:50:35 -07:00
kube-controller-manager Merge pull request #51034 from wlan0/master 2017-09-30 12:14:11 -07:00
kube-proxy Merge pull request #52614 from leblancd/v6_proxy_bind_address 2017-10-04 19:55:04 -07:00
kubeadm Merge pull request #53317 from liggitt/fix-kubelet-cert-dir 2017-10-04 10:32:45 -07:00
kubectl bazel: make //cmd/kubectl:kubectl binary publicly visible 2017-09-18 17:18:34 -07:00
kubelet Change default --cert-dir for kubelet to a non-transient location 2017-10-03 02:26:26 -04:00
kubemark Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
linkcheck Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
BUILD Remove seemingly obsolete binaries 2017-08-18 21:01:19 -07:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00