rancher / rancher

Complete container management platform
http://rancher.com
Apache License 2.0
23.36k stars 2.97k forks source link

Global DNS - Cloudflare provider - DNS records point to only one of the multiple ingress ips. #17742

Open sangeethah opened 5 years ago

sangeethah commented 5 years ago

Rancher server version - Build from master (1/28)

HA Set up with following clusters: Cluster1 - 1 node (all roles) Cluster2 - 1 node (all roles)

Steps to reproduce the problem:

  1. Create Multicluster App - mcapp1 for cluster1/p1 and cluster2/p2 with Global DNS enabled Ingress for fqdn - "test1.test.com"
  2. Create globalDnsProvider with root domain - "test.com" with provider set to "CloudFlare"
  3. Create a globalDns entry with fqdn - "test1.test.com" pointing to Multicluster App - mcapp1.

Ingress that gets created in cattle-global-data namespace has node ips from cluster1 and cluster2 as expected.

In cloudflare console , A record for "test1.test.com" points only to 1 ip address.

galal-hussein commented 5 years ago

It looks like a problem with upstream external dns, i reproduced the problem with external dns deployment only, and i opened an issue with the upstream project https://github.com/kubernetes-incubator/external-dns/issues/887

alena1108 commented 5 years ago

Moving out 2.2 release milestone as the issue seems to be an upstream one

janeczku commented 5 years ago

@alena1108 This has been fixed upstream. We should be able to pull in the fix by upgrading to the latest release of external-dns. https://github.com/kubernetes-incubator/external-dns/pull/1034

abhi1693 commented 4 years ago

Can this issue be looked at since it has been fixed in the upstream repo? I'm getting this issue on all of my clusters in the production