Deploying kubernetes using kubespray with HAProxy and Keepalived
Topology: Loadbalancer Haproxy with keepalived as kube api server for the cluster, which provide High availability. The Loadbalancer machine gets virtual IP from keepalived to keep kube api server endpoints always availabilty, then the haproxy allow us to provide loadbalancing for each master node api server. Loadbalancer preparation 1. Setup haproxy on loadbalancer node 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 # do it on LB1 and LB2 # Update package and install haproxy apt update apt install haproxy -y # edit haproxy....