-
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
DNS sync stops in presence of any Virtual Service that points to nonexistent gateway #3628
Comments
I assume this issue started coming from 0.13.2 due to this PR to https://github.com/kubernetes-sigs/external-dns/pull/3140/files#diff-5046d74abd634825be6a08257d8fa7655b7af289ec075c0ce348e2800fa0ee5eR294 ? Before this PR, https://github.com/kubernetes-sigs/external-dns/pull/3140/files#diff-5046d74abd634825be6a08257d8fa7655b7af289ec075c0ce348e2800fa0ee5eR205 used to return an error as well in this scenario and the loop used to cc: @ricoberger |
As of 0.13.5, this problem causes external-dns to exit here, which means a developer could accidentally take down external-dns by deploying a funky VirtualService. |
I don't disagree that the EDIT: Taking a bit closer look at the code, even if we change back the |
What happened:
external_dns_source_endpoints_total
became 0 and didn't increase.external_dns_controller_last_sync_timestamp_seconds
was in 1970 and never increased.What you expected to happen:
One erroneous Virtual Service should not block the entire external-dns sync.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
external-dns --version
): v0.13.4.The text was updated successfully, but these errors were encountered: