kakao / network-node-manager

network-node-manager is a kubernetes controller that controls the network configuration of a node to resolve network issues of kubernetes.
Apache License 2.0
108 stars 20 forks source link

Handle dual-stack services gracefully #12

Closed bootc closed 3 years ago

bootc commented 3 years ago

With Kubernetes 1.20, Services may be natively dual-stack. This commit correctly adds IPv4 or IPv6 iptables rules corresponding to each external address found by its family, DNATting to the appropriate family ClusterIP.

Closes: #10

ssup2 commented 3 years ago

@bootc Thanks. After merging this, I'm going to change some comments on the code.