Make docker swarm HA with keepalived

While having a self-healing, scalable docker swarm is great for availability and scalability, none of that is worth a sausage if nobody can connect to your cluster!


This is a companion discussion topic for the original entry at https://geek-cookbook.funkypenguin.co.nz/docker-swarm/keepalived/

For both primary and secondary, they should not specify their own IP in the unicast peers setting or you will get non-stop warnings in the container logs about a peer with the same ip and priority

2 Likes

I’ve not done more than a casual search, but lolhens/keepalived-swarm might be a viable alternative …