Hello, I've done some research online, and haven't been able to find anything with regards to migrating from a non docker-swarm infra, to a docker-swarm based infra.
Right now our services are managed across multiple docker hosts using docker-compose files and ansible playbooks. However I'm looking to shift this to a docker-swarm based setup for easier management, and high-availability. I'm looking to make the migration as least disruptive as possible, but unfortunately there doesn't appear to be much documentation on this process.
As far as I can tell, the most straight forward way to make this migration will be to bring each of the docker hosts offline 1-by-1, migrating the host to swarm mode. After migrating the first host to docker-swarm, I will redeploy the services to that host. After the services are confirmed working, I'll begin migrating the remaining hosts, joining them to the swarm as needed. Once all docker hosts are part of the swarm, I'll then scale the services across all new hosts. Does this sound about right?