我在集群上创建了外部DNS(由DigitalOcean提供),stable/external-dns
Helm chart的值如下:
provider: digitalocean
digitalocean:
apiToken: "MY_DIGITAL_OCEAN_TOKEN"
domainFilters:
- example.com
rbac:
create: true
logLevel: debug
它曾经很好,但最近由于no hosted zone matching record DNS Name was detected
而停止创建记录:
time="2019-06-10T14:42:55Z" level=debug msg="Endpoints generated from ingress: deepfork/df-stats-site: [fork.example.com 0 IN A 134.***.***.197 [] fork.example.com 0 IN A 134.***.***.197 []]"
time="2019-06-10T14:42:55Z" level=debug msg="Removing duplicate endpoint fork.example.com 0 IN A 134.***.***.197 []"
time="2019-06-10T14:42:56Z" level=debug msg="Skipping record fork.example.com because no hosted zone matching record DNS Name was detected "
time="2019-06-10T14:42:56Z" level=debug msg="Skipping record fork.example.com because no hosted zone matching record DNS Name was detected "
2条答案
按热度按时间6kkfgxo01#
当我用DigitalOcean web interface手动添加记录时,它得到了解决。之后,ExternalDNS开始忽略添加新记录,因为它已经存在。
后来我删除了记录与接口,和ExternalDNS它开始工作.
eh57zj3b2#
此错误消息来自
kubernetes-incubator/external-dns
provider/digital_ocean.go#digitalOceanChangesByZone()
,您已为其打开an issue (1064)的项目检查这是否与issue 1055无关,当使用带有“latest”标签的图像时,issue 1055也有类似的问题。
最近的提交可以解决这个问题:
""
。这导致始终匹配排除”另请参阅:
kubernetes-sigs/external-dns
issue 3753: Inconsistencies in semantics of--domain-filter
between providers“kubernetes-sigs/external-dns
issue 3948: How to filter out records from being created?“