Kubernetes for Windows networking - default CNI

9/24/2018

Under this official doc, calico and flannel are not yet fully supported by windows. I plan to use ToR (top of rack) static routing.

How do I install the default CNI? (just do nothing?)

E.g. using flannel I will need to run - kubectl apply -f kube-flannel.yml

So what do I need to install for default CNI for ToR static routing?

Also a quick note, I'm using Kubeadm to set this up on-prem so any insight would be appreciated.

-- JuniorPenguin
cni
kubernetes
networking

1 Answer

9/24/2018

Actually, there's a default CNI config here. It also shows you steps to set it up on a Windows hosts. And this script would setup up the PodCidr that you'd need to run your kubelet.

You still need as you mentioned, setup your own ToR static routes.

Hope it helps!

Update from @JuniorPenguin:

I would just add enable NIC promiscuous mode if you are using VMware

-- Rico
Source: StackOverflow