Building a High Availability Cluster with HAProxy, Keepalived, and Docker: A Step-by-Step Guide
Published:
This project aims to create a highly available cluster using HAProxy and Keepalived in a containerized environment with Docker Compose.
Network Configuration: The cluster operates under a network bridge with the subnet
10.0.0.0/24
.VRRP (Virtual Router Redundancy Protocol): Keepalived uses VRRP behind the scenes to assign a virtual IP address to both HAProxy nodes, ensuring high availability.
HAProxy: HAProxy (High Availability Proxy) is used to balance traffic across backend servers and perform health checks.