mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-16 17:28:07 -05:00
When nodePortAddresses is not specified for kube-proxy, it tried to open the node port for a NodePort service twice, triggered by IPv4ZeroCIDR and IPv6ZeroCIDR separately. The first attempt would succeed and the second one would always generate an error log like below: "listen tcp4 :30522: bind: address already in use" This patch fixes it by ensuring nodeAddresses of a proxier only contain the addresses for its IP family. |
||
|---|---|---|
| .. | ||
| OWNERS | ||
| proxier.go | ||
| proxier_test.go | ||