-
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
Publish ExternalIPs for LoadBalancer services #1500
Publish ExternalIPs for LoadBalancer services #1500
Conversation
Welcome @burningalchemist! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure you changes include the right formatting, you can run make lint
locally to see if there's something not correct.
source/service.go:492: File is not `goimports`-ed (goimports)
source/service_test.go:763: File is not `goimports`-ed (goimports)
@njuettner I'm sorry for that. Will fix it shortly, thanks. 👍 |
@njuettner @hjacobs Could you please take a look whenever you have time? :) |
01535a4
to
33e7419
Compare
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
33e7419
to
e53aeef
Compare
@Raffo Could you please take a look at my PR when you have time or suggest someone else? I guess @njuettner is too busy. :) |
would love to see this merged |
@seanmalloy could you please take a look at this PR? 😃 |
@burningalchemist thanks for reaching out. I'm in the process of ramping on contributing to this project. It will probably take me a few weeks to get to this PR. CC: @vinny-sabatini |
/kind feature |
@seanmalloy Thanks for your reply! I'll wait patiently. 👍 Stability wise it's been running smooth without issues since April. 🙂 |
@burningalchemist can you please rebase this PR? I'm working on triaging |
@seanmalloy sure thing, will do shortly. 👍 UPD: Done. |
e53aeef
to
26ef8ff
Compare
/assign |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@burningalchemist the code changes look good to me. I just have one question. Do we want to have a configuration option to enable this feature? I think turning the functionality on by default would be considered a braking change, right? /cc @tariq1890 |
@seanmalloy I haven't yet discovered any cases where ExternalIPs attribute is used with I'm happy to look into it and for the configuration flag, but I don't see any breaking changes from my side at the moment. |
@burningalchemist Please add documentation for this. It would be important to mention that External IPs would take precedence over loadBalancer internal IPs |
@tariq1890 Yes, will do. Thanks! |
Give me some time to think about this and get back to you. |
@seanmalloy I'm waiting for your feedback, but maybe it's better indeed to cover this behaviour behind a feature toggle, be it |
@burningalchemist I discussed with @vinny-sabatini and we are ok not having a feature toggle for this. Please note we are not the official project maintainers for external-dns. Please add some user documentation for this and I will add my LGTM and then send it for final approval by the project maintainers. Thanks! |
@seanmalloy Sounds great, I'll add it shortly. Thanks! |
26ef8ff
to
323da6b
Compare
@seanmalloy I've added notes to README.md. Seems ok to me. What do you think? |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: burningalchemist, Raffo 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 |
Add feature to publish ExternalIPs for LoadBalancer services.
Use case:
loadBalancerIP
from the given pool (internal network IP).Currently, ExternalIPs in LoadBalancer services are not processed at all, so there are no breaking changes as far as I can tell.
Note: ExternalIP value is defined separately, so it's out of the scope of ExternalDNS. The only thing needed is to prefer
externalIP
toloadBalancerIP
and let ExternalDNS do the job.