-
Notifications
You must be signed in to change notification settings - Fork 12
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
cloudmap: resolve hostnames before registering #139
base: master
Are you sure you want to change the base?
Conversation
Please provide feedback for I am thinking of a |
74bf721
to
1d794a8
Compare
I would suggest A separate suggestion is to use |
Thanks for the feedback @ljakab!
Yes, if an FQDN resolves to N addresses, you will end up with N
Thanks, I will write that in the doc! |
Sightly side question. Even though the title says |
Yes, you are right. The reason for this being labelled as With the new APIs and controllers, this algorithm will be moved in such a way that it will work with any provider, not just EKS. |
AWS load balancers are DNS-based rather than IP-based. This means that we need to resolve those host names before registering endpoints to the service registry, as they only accept IPs. This commit introduces this change and allows the operator to work fine with EKS as well.
1d794a8
to
815299a
Compare
AWS load balancers are DNS-based rather than IP-based.
This means that we need to resolve those host names before registering endpoints to the
service registry, as they only accept IPs.
This commit introduces this change and allows the operator to work fine with EKS as well.
When registering services that have a host name (or multiple ones), the operator will register
its endpoints as usual but it also introduces two new reserved metadata keys:
The first key is self explanatory, while the second one indicates the date and time this was resolved and the IP checks out with the host name. This is because the IP for that host name might very well change and in future version the operator will make sure to change the IP address accordingly.
This addresses #137 and qualifies for
v0.8.0
.