Skip to content

k3s Issues master host ip changed

Symptoms after host restarted

# journalctl -f -u k3s
level=fatal msg="Failed to start networking: unable to initialize network policy controller: error getting node subnet: failed to find interface with specified node ip"

Check:

cat /var/lib/rancher/k3s/server/tls/dynamic-cert.json | grep -c <OLD-IP>
1

Fix:

systemctl stop k3s
rm -rf /var/lib/rancher/k3s/server
systemct start k3s