When I added my third node (a Debian VM on Proxmox) to the K3s cluster, pods could not reach each other across nodes. Everything looked fine on the surface — the node joined, kubectl get nodes showed Ready — but inter-pod networking was completely broken.

The Symptoms

Pods on the new node could reach the Kubernetes API server but not pods on the other two NUC nodes. CoreDNS queries timed out. Services returned connection refused. It was as if the overlay network simply did not exist for this node.

The Investigation

I started with the basics — checking Flannel logs, verifying the VXLAN interface existed, and running tcpdump on the flannel.1 interface:

# Check if VXLAN traffic is arriving
sudo tcpdump -i eth0 port 8472 -n

# Result: zero packets. Nothing on UDP 8472.

That was the clue. VXLAN uses UDP port 8472, and I had UFW enabled on this node (the NUCs had it disabled during initial setup). A quick check confirmed it:

sudo ufw status verbose
# Default: deny (incoming)

The Fix

The minimal fix was to allow the specific ports K3s needs:

# Flannel VXLAN
sudo ufw allow 8472/udp

# Kubelet API
sudo ufw allow 10250/tcp

# K3s API server (from worker nodes)
sudo ufw allow 6443/tcp

Within seconds of adding the VXLAN rule, pods started communicating. No restart needed — Flannel immediately recovered once the packets could flow.

Key Takeaway

Always check the firewall first when debugging overlay networking. It sounds obvious in retrospect, but when kubectl get nodes shows everything is Ready, your brain does not immediately jump to "the firewall is blocking the CNI". I have since documented every required port in my cluster setup playbook.