Hi Team,
We are setting up kubernetes by having one master node (linux) and another windows node (windows) using the tool “KubeAdm”.
For CNI, we are using Flannel. For CRI, we are using docker.
When I run step 4 in the below link for joining the windows node with master node, I am getting below error
We observe that flannelD is not running.
Below is the content of log from FlannelD
Kindly help us out. If you need any other information, please let me know
We are setting up kubernetes by having one master node (linux) and another windows node (windows) using the tool “KubeAdm”.
For CNI, we are using Flannel. For CRI, we are using docker.
When I run step 4 in the below link for joining the windows node with master node, I am getting below error
We observe that flannelD is not running.
Below is the content of log from FlannelD
Kindly help us out. If you need any other information, please let me know
C:\ProgramData\Kubernetes\flanneld.exe FlannelD() OnStart - Successfully started the service
I1026 08:31:33.578709 6428 main.go:450] Searching for interface using YYY.YY.YYY.YYY
I1026 08:31:33.896905 6428 main.go:527] Using interface with name vEthernet (New Virtual Switch) and address YYY.YY.YYY.YYY
I1026 08:31:33.896905 6428 main.go:544] Defaulting external address to interface address (YYY.YY.YYY.YYY) I1026 08:31:33.903566 6428 kube.go:126] Waiting 10m0s for node controller to sync
I1026 08:31:33.903566 6428 kube.go:YY9] Starting kube subnet manager
I1026 08:31:34.918252 6428 kube.go:133] Node controller sync successful
I1026 08:31:34.918252 6428 main.go:244] Created subnet manager: Kubernetes Subnet Manager - YYYYYY I1026 08:31:34.918252 6428 main.go:247] Installing signal handlers
I1026 08:31:34.918252 6428 main.go:386] Found network config - Backend type: vxlan
I1026 08:31:34.918827 6428 vxlan_windows.go:123] VXLAN config: Name=vxlan0 MacPrefix=0E-2A VNI=YYYX Port=YYYX GBP=false DirectRouting=false
I1026 08:31:34.926902 6428 vxlan_windows.go:133] Checking HNS network for DR MAC : [{Id:YYYX- YYY-YYYX-YYYx-YYYYYY Name:New Virtual Switch Type:Transparent Policies:[{Type:VSwitchExtension Settings:} {Type:VSwitchExtension Settings:} {Type:VSwitchExtension Settings:}]
MacPool:{Ranges:[{StartMacAddress:00-YY-5D-YY-YY-00 EndMacAddress:00-YY-YY-YY-YY-YY}]} Dns:{Suffix: Search: ServerList: Options:} Ipams: Flags:0 SchemaVersion:{Major:2 Minor:0}}]
I1026 08:31:34.YYYYY 6428 vxlan_windows.go:154] Cannot use DR MAC since PA does not match YYY.YY.YYY.YYY
I1026 08:31:34.YYYYY 6428 vxlan_windows.go:133] Checking HNS network for DR MAC : [{Id: Name:nat Type: Policies:[{Type:]} {Type:VSwitchExtension Settings:} {Type:VSwitchExtension Settings:}] MacPool:{Ranges:[} Dns:{Suffix: Search: ServerList: Options:} Ipams:[{Type:
Subnets:[{IpAddressPrefix:YYY.YY.x.x/YY Policies: Routes:[{NextHop:YYY.YY.0.1
DestinationPrefix:0.0.0.0/0 Metric:0}]}]}] Flags:0 SchemaVersion:{Major:2 Minor:0}}] I1026 08:31:34.927823 6428 vxlan_windows.go:154] Cannot use DR MAC since PA does not match YYY.YY.YYY.YYY E1026 08:31:34.927823 6428 main.go:289] Error registering network: Cannot find network with Management IP YYY.YY.YYY.YYY
I1026 08:31:34.928833 6428 main.go:366] Stopping shutdownHandler…
C:\ProgramData\Kubernetes\flanneld.exe exited unexpectedly 1