-
Notifications
You must be signed in to change notification settings - Fork 54
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
Docker Swarm zero conf #9
Comments
Fixed #9 This PR bootstrap the autodetection feature: 1. It works when the configuration file is not setup. Right know I am not going to manage the merge of double sources (autodetection and configuration file). 2. At the moment only Docker Swarm will support this feature.
The autodetection is implemented only for swarm. Because at the moment DigitalOcean doesn't support this kind of strategy. At the moment the code is a mess but it's working. If you don't specify a configuration file when you start orbiter
The daemon fallback to
At this point you have all the services registered and you can do something like:
To scale as usual. What do toThere is something to do:
This two points are necessary to make the codebase flexible and maintainable. But the POC is there and it's working. Follow up issues #13 |
We can write a fallback zero configuration implementation of docker swarm because we can use service labels to get all the services that require to be managed by orbiter. For example with a set of labels like:
orbiter=true,orbiter_up:3, orbiter_down:2
we can create an autoscaler.From a docker client point of view orbiter is already using:
It means that from Docker side we are already zero configuration.
Thanks @aluzzardi for the idea!
The text was updated successfully, but these errors were encountered: