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
Add set of command line arguments to easily read out from consul/etcd the registered services #2
Comments
You're on the right path but I can tell you now that what you're thinking But not as a registrator issue. :) On Thursday, July 24, 2014, Dustin Spicuzza notifications@github.com
Jeff Lindsay |
I think you're right. |
Synchronize etcd cluster in registrator on service registration.
[WIP] Changed modules.
My use case is CoreOS systemd units, though this is a more general request. If I stick registrator on all of my cluster hosts, then when I bring things up and down they get into etcd without any mess. This is pretty sweet.
Now, I need to somehow pass the registered container addresses into my other containers when those containers start. I think that generally users would like to be able to do simple things like 'docker run $(registrator /some/service/key) my_container' and have that just work, instead of figuring out what weird etcdctl + sed madness I need to do to pass arguments to the container.
Arguably, one should probably integrate into etcd/consul directly. However, some services can't do that yet… I just realized that's what ambassadord is for. Hm. I feel that this type of functionality could be useful though.
The text was updated successfully, but these errors were encountered: