外部 DNS 跳过记录(未检测到匹配的托管区域)

sta*_*eep 5 dns digital-ocean kubernetes kubernetes-helm

我在我的集​​群上创建了外部 DNS(由 DigitalOcean 提供),stable/external-dnsHelm 图表的值如下:

provider: digitalocean
digitalocean:
  apiToken: "MY_DIGITAL_OCEAN_TOKEN"
domainFilters:
  - example.com
rbac:
  create: true
logLevel: debug
Run Code Online (Sandbox Code Playgroud)

它曾经很好,但最近由于以下原因停止创建记录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 "
Run Code Online (Sandbox Code Playgroud)

Von*_*onC 1

此错误消息来自您已为其打开问题 (1064)kubernetes-incubator/external-dns provider/digital_ocean.go#digitalOceanChangesByZone()的项目

检查这是否与问题 1055无关,在使用带有“最新”标签的图像时,问题 1055 也存在类似问题。

最近的提交可能会解决这个问题:

也可以看看: