cloudfoundry-attic / etcd-release

Apache License 2.0
3 stars 17 forks source link

Allow etcd to run in --proxy mode #19

Closed drnic closed 8 years ago

drnic commented 8 years ago

https://coreos.com/etcd/docs/latest/proxy.html

This will allow etcd proxy to be run on all jobs/vms, and allow clients to talk only to their singular local proxy and not need to manage the single or multiple connections to etcd servers. Consul has this with consul agent mode and its a wonderful pattern.

cf-gitbot commented 8 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/119409073

The labels on this github issue will be updated when the story is started.

Amit-PivotalLabs commented 8 years ago

Thanks @drnic, I didn't know about that feature of etcd! There are several drawbacks to Consul's agent pattern, but mostly around the fact that you essentially have to follow that pattern. I think etcd's proxy pattern is nicer, since it's optional -- colocate the proxy if it makes sense for you, talk directly to the server if that makes sense instead.

While this might be nice to have, we're a far ways from being able to add much in the way of new features to etcd-release right now. A feature like this would require a heavy amount of system-level/acceptance-level testing as well. I will close this issue for now, but we may reconsider it in the future.

Thanks again, Amit

drnic commented 8 years ago

https://github.com/cloudfoundry-incubator/etcd-release/releases/tag/v56 Awesome!!