-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Unable to use public discovery service #14447
Comments
Points:
|
Great, thanks! Two quick follow-up questions:
|
I would say yes, but since it's a new feature in 3.6, so it might be buggy. Could you share the use case how will you use the v3discovery? Are you going to use a centralized etcd cluster as a discovery service, so as to bootstrap & manage all other etcd clusters?
v2discovery is based on V2 API, which has already been deprecated for years. V2 server has already been removed in the code base, V2 client API might be removed in next minor release (3.7). FYI. https://etcd.io/docs/v3.4/op-guide/v2-migration/ |
Thanks for asking this. We're deploying So, with this ticket, I'm basically trying to understand if Public etcd discovery, using |
Thanks for the info.
Just to double confirm, do you mean each etcd member/node doesn't know the IPs of other etcd members/nodes in the same cluster beforehand? If yes, I am curious about the real scenario. Would you mind share more details? |
Yes, of course. More generally, the scenario is described in the discovery docs section:
Talking specifics, our setup is:
Note that for me to assign an address to each container is a pain and quite convoluted FYI: I've managed to make this work with DNS discovery. I'm just curious now, more than anything, on the pros/cons of the two approaches :) |
Thanks for the feedback.
|
Great, thanks for all the help! Closing this issue |
What happened?
etcd
cluster with public discovery service.docker-compose
fileWhat did you expect to happen?
Cluster to bootstrap successfully
How can we reproduce it (as minimally and precisely as possible)?
docker-compose.yaml
:where
ETCD_DISCOVERY
was generated by running:curl https://discovery.etcd.io/new?size=3
Anything else we need to know?
No response
Etcd version (please run commands below)
Etcd configuration (command line flags or environment variables)
See docker-compose above
Etcd debug information (please run commands blow, feel free to obfuscate the IP address or FQDN in the output)
Relevant log output
The text was updated successfully, but these errors were encountered: