skynetservices/skydns

How to use etcd3 backend?

NoxisStyle opened this issue · 3 comments

Hi,

I tried to use the etcd3 backend with version 2.5.3a of the skydns container ( skynetservices/skydns:2.5.3a docker image) but all my attemps failed.

I tried to add "etcd3":true in /skydns/config using both the etcd v2 and v3 APIs before starting the container but Skydns only seems to consider etcd v2.
e.g.
{"dns_addr":"0.0.0.0:53", "ttl":60, "domain": "cluster.local", "nameservers": ["8.8.8.8:53","8.8.4.4:53"], "etcd3":true}

How are we supposed to enable the etcd v3 mode ?

I also tried starting the container with /skydns -etcd3=true, but the flag does not seem to be supported

In fact it does not work because the last SkyDNS tag does not yet contain etcd v3 support. Is there a plan to make a new tag of the project ?

Currently you need to enable support for v2 from etcd server side:
–enable-v2
https://etcd.io/docs/v3.2.17/op-guide/configuration/