Closed ghost closed 8 years ago
this sounds interesting. also see the new tools from hashicorp:
i think @whyrusleeping thinks we can simply things a ton with Nomad
i would love to use nomad. I think its great right now, and its only getting better (theyre adding in consul integration for service discovery and notification).
The biggest way i see nomad making our life easier is the rolling upgrades and how easy it is to do.
we can specify in the job file to update one node at a time every hour (or even every day?) and then easily cancel the upgrade if things start going wrong and roll back.
NixOps also seems interesting (and better aligned with IPFS ;)
Cc: @rht
nice links. yeah all the nix tools are very promising and aligned. thoughts here @whyrusleeping and @lgierth ?
They do look nice but to be honest I'm not sold. I think we don't have a good idea yet what our needs will be in the foreseeable future. For now I just wanted to cut away the complexity and complication that we definitely don't need: Ansible.
All we really do is run a small handful of containers, generate config files for each of them, and reload if the config changes. It's easily doable with a few shell scripts.
@lgierth yeah, that sounds good to me.
I think we don't have a good idea yet what our needs will be in the foreseeable future.
But isn't content-addressed stateless vm / package manager in one of them?
But isn't content-addressed stateless vm / package manager in one of them?
Maybe, I guess so -- what do you have in mind?
runC it'll be, supervised by runit.
We can kill a lot of Ansible's complexity by managing our containers with docker-compose: https://docs.docker.com/compose/
A
docker-compose.yml
for a gateway host might look like this:We can probably even generate the various config files locally, and get rid of Ansible for good.