Open xander-sh opened 3 years ago
@cdtomkins for keepalived config
@tomastigera @caseydavenport I built a lab to test the keepalived
config and also to confirm the MACs/IPs.
Here are the findings:
check_apiserver
functionality)chris @ chris-work ~
└─515─▶ arp -a | grep -i 10.230
? (10.230.34.9) at 52:54:00:42:98:74 [ether] on mpqemubr0
? (10.230.34.100) at 52:54:00:75:27:5f [ether] on mpqemubr0
? (10.230.34.117) at 52:54:00:75:27:5f [ether] on mpqemubr0
Let me know if there's anything else you need @tomastigera
We using vanilla kubernetes v1.20.4 with Calico v3.19.1 and keepalived as floating ip for cluster endpoint (kube-api) on vSphere virtual machine. When we enable eBPF dataplane in calico, keeplaived switches to split-brain mode (each masters has virtual ip for cluster endpoint, in normal mode, virtual ip is present only on one master node). Keepalived is configered to use multicast packets for communication between master nodes.
Expected Behavior
Normal work keeplaived with eBPF Calico.
Current Behavior
Keepalived correct work only in unicast mode
Possible Solution
Steps to Reproduce (for bugs)
Context
Each node has one network interface ens192. On normal mode virtual ip (172.16.234.111) only on one master node.
In split-brain mode: virtual ip (172.16.234.111) present on each master nodes.
keepalived config
Calico Felix configuration
Your Environment