Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replacement of the "in-house" listening port creation, by one from k8…
…s.io/utils/net. Kube-proxy and kubelet/cri-o have a rule that when they create an iptables rule redirecting traffic from a host port to a pod, they also create a listening socket on that port, to ensure that there can never be a conflict between any of * system daemon listening on a port * hostNetwork pod listening on a port * NodePort service * pod with a HostPort OVN-kubernetes had its proprietary implementation of this functionality. This commit replaces it by a "standard" one from k8s.io/utils/net . In addition the commit changes bindig procidure for service with ExternalIP defined. Now the listening socket will be bound to the defined external IPs. Signed-off-by: Alexey Roytman <roytman@il.ibm.com>
- Loading branch information
Showing
27 changed files
with
3,106 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.