Skip to content
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

How to use etcd3 backend? #331

Open
NoxisStyle opened this issue Jan 16, 2018 · 3 comments
Open

How to use etcd3 backend? #331

NoxisStyle opened this issue Jan 16, 2018 · 3 comments

Comments

@NoxisStyle
Copy link

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 ?

@NoxisStyle
Copy link
Author

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

@NoxisStyle
Copy link
Author

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 ?

@AlexKapustin
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants