-
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
'Nodes' source assumes all discovered IPs are IPv4 #1875
Comments
Well, I wrote my intended sloppy patch on node.go (linked in above activity) and it satisfies my test cases but apparently external-dns has larger issues with IPv6 preparedness:
So I suppose this is somewhat blocked on overall AAAA support in external-dns. I tried also patching AAAA into the plannable record passlist and now IPv6-only nodes Also, related, another source that hardcodes A: #1812 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/lifecycle frozen this is part of the IPv6 efforts and should therefore not be autoclosed. |
Could this get some more traction as the IPv6 support in Kubernetes is moving to stable in the next release? |
Is there any news on this feature? |
What would you like to be added:
The
node.go
source only knows how to makeA
endpoints: https://github.com/kubernetes-sigs/external-dns/blob/master/source/node.go#L129The source should be extended to recognize IPv6 addresses and add them as
AAAA
endpoints instead ofA
.I looked at providing a refactor but struggled to handle the code as-written, it wants to only think about one type of endpoint. This is the basic gist of the tests that should pass:
Why is this needed:
I have geographically diverse nodes and external-dns's nodes source made for a pretty sweet Kubernetes-native dynamic DNS solution. Unfortunately I found a limit when I added a dual-stack node. (Even more important because the relevant ISP rotates the customer's IPv6 prefix every few days)
The text was updated successfully, but these errors were encountered: