-
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
CoreDNS Provider: ETCD datastore version #659
Comments
The CoreDNS provider in external-dns does work with etcd v2 client. it needs to migrate to use etcd v3 client, as recent version of CoreDNS etcd plugin migrated to etcd v3. |
The workaround could be to use older version of CoreDNS server |
@shashidharatd thanks for your response. That clarifies why external-dns is using etcd v2 client. As a workaround I'm currently using SkyDNS. I will also try to use an older version of CoreDNS. Are there any plans to migrate the CoreDNS provider to etcd v3 in the near future? |
Hi everyone,
I did some experiments with external-dns and CoreDNS.
I'm running Kubernetes On-Prem and want a dynamic DNS server which holds the records for all Services from the
type: LoadBalancer
and Ingress Objects. The idea was to delegate a sub domain to the this dynamic DNS server.So I started external-dns with the provider CoreDNS:
Frist thing I notice was that I need a ETCD cluster. So I added a single node ETCD cluster into the same POD. With that in place external-dns pushes key values pairs into ETCD. Next step was to integrate CoreDNS. I added CoreDNS to the Pod and tried to query the A records external-dns pushed. And I saw nothing.
I jumped into debugging and found out that external-dns pushes into etcdv2 datastore and CoreDNS tried to read from etcdv3 datastore. I migrated the etcdv2 datastore to v3 and after that CoreDNS gives me the answers i expcted.
So my question is did I miss something? Is there a config parameter somewhere where I can specify the etcd datastore version? Or is my setup wrong?
external-dns config:
CoreDNS config:
The text was updated successfully, but these errors were encountered: