Created
December 28, 2019 19:33
-
-
Save subhashdasyam/ae44fd152b52dd3f993c650fcaeca968 to your computer and use it in GitHub Desktop.
Kubernetes Flannel Networking
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
kubectl logs kube-flannel-ds-arm-hkpl7 -n kube-system | |
I1228 19:29:02.922025 1 main.go:514] Determining IP address of default interface | |
I1228 19:29:02.922746 1 main.go:527] Using interface with name wlan0 and address 192.168.0.223 | |
I1228 19:29:02.922794 1 main.go:544] Defaulting external address to interface address (192.168.0.223) | |
I1228 19:29:03.058544 1 kube.go:126] Waiting 10m0s for node controller to sync | |
I1228 19:29:03.058661 1 kube.go:309] Starting kube subnet manager | |
I1228 19:29:04.058923 1 kube.go:133] Node controller sync successful | |
I1228 19:29:04.059064 1 main.go:244] Created subnet manager: Kubernetes Subnet Manager - raspberrypi-2 | |
I1228 19:29:04.059129 1 main.go:247] Installing signal handlers | |
I1228 19:29:04.059926 1 main.go:386] Found network config - Backend type: vxlan | |
I1228 19:29:04.060134 1 vxlan.go:120] VXLAN config: VNI=1 Port=0 GBP=false DirectRouting=false | |
E1228 19:29:04.061713 1 main.go:289] Error registering network: failed to configure interface flannel.1: failed to ensure address of interface flannel.1: link has incompatible addresses. Remove additional addresses and try again. &netlink.Vxlan{LinkAttrs:netlink.LinkAttrs{Index:5, MTU:1450, TxQLen:0, Name:"flannel.1", HardwareAddr:net.HardwareAddr{0x16, 0x37, 0xb2, 0xe2, 0x58, 0xc3}, Flags:0x13, RawFlags:0x11043, ParentIndex:0, MasterIndex:0, Namespace:interface {}(nil), Alias:"", Statistics:(*netlink.LinkStatistics)(0x12461104), Promisc:0, Xdp:(*netlink.LinkXdp)(0x122bd110), EncapType:"ether", Protinfo:(*netlink.Protinfo)(nil), OperState:0x0}, VxlanId:1, VtepDevIndex:3, SrcAddr:net.IP{0xc0, 0xa8, 0x0, 0xdf}, Group:net.IP(nil), TTL:0, TOS:0, Learning:false, Proxy:false, RSC:false, L2miss:false, L3miss:false, UDPCSum:true, NoAge:false, GBP:false, Age:300, Limit:0, Port:8472, PortLow:0, PortHigh:0} | |
I1228 19:29:04.061847 1 main.go:366] Stopping shutdownHandler... | |
``` | |
fixed by executing the following command in affected nodes | |
``` | |
sudo ip link delete flannel.1 | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment