kubernetes flannel network is not working

2.6k Views Asked by At

network cant connected between (pod and pod) or (pod and node). enter image description here

flannel.1 interface have same mac address: enter image description here

k8s version: v1.23.1 os version: Debian GNU/Linux 11 (bullseye) flannel version: quay.io/coreos/flannel:v0.14.0

Why are the same MAC addresses generated?

1

There are 1 best solutions below

0
Toon Lamberigts On

I ran into the same issue which is actually effect of a race condition between systemd (>242) and flannel where systemd overrides the MAC address of the flannel.1 network interface.

The issue was described here: https://github.com/flannel-io/flannel/issues/1155 and fixed via https://github.com/flannel-io/flannel/pull/1485.

Make sure to use the latest version of flannel (or v0.14.1 or v0.15.1).