You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After reading through ./lib/backends/sdc/affinity.js, I think we are only checking what is currently running and handing it off to DAPI. This explains why when submitted at the same time the services are landing on the same computenode.
I've discovered if you create an affinity rule and run
docker-compose scale consul=3
all 3 instances start on the same node.If I run
docker-compose scale consul=1 && docker-compose scale consul=2 && docker-compose scale consul=3
they honor the affinity rules.Docker-Compose.yml:
The text was updated successfully, but these errors were encountered: