...
During one of our HA setups (PLTF-157) we noticed after running tcpdump -leni any -w output.pcap
the UDP packets were not arriving at the destination host and we had to change the Flannel backend from VXLAN to host-gw
which uses IP routes to pod subnets via node IPs.
...
Restart VM
You will need to slightly change the command you use to configure K3s into master nodes (you don’t need to change the command for workers nodes as they’ll read the configuration form the master ones) by appending
--flannel-backend=host-gw
, example:Code Block curl -sfL https://$URL/k3s.sh | INSTALL_K3S_VERSION="v1.2426.910+k3s2k3s1" K3S_KUBECONFIG_MODE="644" sh -s - server --node-name=master1 --cluster-init --flannel-backend=host-gw