apeunit / LaunchControlD

LaunchControl orchestration and deployment service
MIT License
1 stars 0 forks source link

Docker Machine #1

Open noandrea opened 4 years ago

noandrea commented 4 years ago

It has been suggested (@knarz ) to use docker-machine to provision the infrastructure as needed for the nodes.

The docker-machine implementation is fairly complete and already has support for many providers so it looks like the best choice in term of effort.

Following this principle all the configuration will go around using docker for provisioning, here there is high level overview about how things are going to work: https://miro.com/app/board/o9J_ktqXWMA=/?moveToWidget=3074457349366700726&cot=12

noandrea commented 4 years ago

Unfortunately the docker-machine project is designed to be used as a command line tool and not for programmatic use, therefore the integration will use the command line tool programmatically. This approach will make the system more brittle and more system dependent but should anyway save a lot of time in development

noandrea commented 4 years ago

Following this approach, evtvzd will be bundled with a json file listing the docker-machine drivers, and it will automatically download the new drivers on startup.

noandrea commented 4 years ago

Got a working prototype with hetzner asciicast image