I know that Docker swarm can support more than one stack. However, I am just wondering … is it a good idea to take advantage of that feature?
The way I am doing it right now is I have individual microservice stacks that I independently deploy which seems to work, but something feels off in that the order of the stacks need to be maintained rather than a single
docker stack deploy.
Multiple swarms may have dependencies I can see that happening, for example if I wanted a centralized logging for all the services it should go somewhere first. Same with the private Docker registries that would contain the images. In my case I have a “devops swarm” to handle such things. In AWS I just set it up using VPC peering connections to specific ports to accept logging events (e.g. beats, gelf and zipkin).
Hope @bretfisher can chime in on this topic