-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPv6 internal node IPs are usable externally #3588
IPv6 internal node IPs are usable externally #3588
Conversation
/ok-to-test One question other than that I would approve. Thanks for your work @johngmyers |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johngmyers, szuecs The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
@johngmyers @szuecs since this patch is merged, all v6 addresses internal and external are added to the dns entry for e.g. a Kubernetes node or NodePort. Can you maybe revisit this topic again to make it possible to differentiate between internal and external. |
Description
IPv6 clusters do not a NATed private-use network; IPv6 node addresses are allocated from the global unicast address space and are accessible from the internet if firewalls allow. IPv6 node addresses are always reported as type
NodeInternalIP
despite being usable both internally and externally.This PR causes the sources that use node IP addresses to treat
NodeInternalIP
addresses that parse as IPv6 as being both internal and external.It also fixes the node, pod, and dns-controller sources to set the record type to
AAAA
for node addresses that have IPv6 syntax.This roughly corresponds to kubernetes/kops#12608.
Fixes #1875
Checklist