-
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
Cloudflare provider can't handle multiple records. #314
Comments
I don't think problem is specific to cloudflare and probably applicable to all cloud providers (the error is caused by erroneous internal external-dns logic). External DNS does not support multiple targets (i.e. case when one service/ingress generates more than one endpoint) and hence the problem. Related PRs and issues: #243, #270) However, this problem can be caused also by creating two ingresses/services requesting same DNS name, as addressed and described here: #261, #258 I am closing this as this is a duplication, please comment if u disagree |
This shouldn't be closed since support for multiple targets was added but we still don't have support for multiple records handling/set on cloudflare. We're only setting the first item of the target's array: https://github.com/kubernetes-incubator/external-dns/blob/74de102a130018052dc6551955fd1c12b0e1fc84/provider/cloudflare.go#L299 |
@ideahitme can you please reopen this? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
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. |
* Clean up stale krew installations on windows This introduces a preRun check to root cmd. On windows, we determine the current version of krew from the installation receipt and clean all other directories in $KREW_ROOT/store/krew that aren't the current version, since we don't delete the install directory on post-upgrade if plugin name=="krew" (due to inability of deleting currently executed binary on win32). Signed-off-by: Ahmet Alp Balkan <[email protected]> * add TestCleanupStaleKrewInstallations Signed-off-by: Ahmet Alp Balkan <[email protected]> * fix lint error
The cloudflare providor misbehaves if a service has multiple external IP addresses. For example if you have a single existing (managed) records it will replace the record with the other each iteration.
1 existing 2 current case.
1.You have an ingress with external IPs 1.1.1.1 and 2.2.2.2.
You will have correct IPs now, but only one at a time.
2 existing 2 current case.
1.You have an ingress with external IPs 1.1.1.1 and 2.2.2.2.
This case is worse, you always have one correct IP, but the incorrect IP never gets removed.
Note: I haven't tested other providers so it might be a wider problem.
cc: @njuettner
The text was updated successfully, but these errors were encountered: