报错信息
Apr 21 15:56:37 node02 systemd[1]: Started Flanneld overlay address etcd agent.
Apr 21 15:56:37 node02 flanneld[123894]: I0421 15:56:37.621933 123894 iptables.go:125] Adding iptables rule: ! -s 172.17.0.0/16 -d 172.17.0
Apr 22 10:14:08 node02 flanneld[123894]: E0422 10:14:08.245343 123894 vxlan_network.go:158] failed to add vxlanRoute (172.17.25.0/24 -> 172
Apr 22 10:17:17 node02 flanneld[123894]: E0422 10:17:17.228233 123894 vxlan_network.go:158] failed to add vxlanRoute (172.17.25.0/24 -> 172
Apr 22 10:22:30 node02 flanneld[123894]: E0422 10:22:30.718100 123894 vxlan_network.go:158] failed to add vxlanRoute (172.17.25.0/24 -> 172
Apr 22 10:24:43 node02 flanneld[123894]: E0422 10:24:43.038854 123894 vxlan_network.go:158] failed to add vxlanRoute (172.17.25.0/24 -> 172
Apr 22 10:32:16 node02 flanneld[123894]: E0422 10:32:16.012105 123894 vxlan_network.go:158] failed to add vxlanRoute (172.17.25.0/24 -> 172
Apr 22 10:35:39 node02 systemd[1]: Stopping Flanneld overlay address etcd agent...
网上类似信息
https://github.com/coreos/flannel/issues/844
I had this error too when transitioning from 1.7.5 to 1.8.2.
A reboot solved this error for me.
(for completenes: prior to this I deleted the fstab swap entry because kubelet requires that the system doesnt swap. Not sure If this is related)
解决过程
重启
问题原因
有疑问加站长微信联系(非本文作者)