Add a Windows worker node to MicroK8s

@balchua1

It is the rebuilt cluster and running fine. However, there is also only 1 calico-node and FYI. Thanks!

NAMESPACE NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
kube-system calico-node 3 3 3 3 3 kubernetes.io/os=linux 23d
ingress nginx-ingress-microk8s-controller 5 5 3 5 3 16h
kube-system csi-smb-node 3 3 3 3 3 kubernetes.io/os=linux 15h
kube-system csi-smb-node-win 2 2 2 2 2 kubernetes.io/os=windows 15h

This is the state before enabling rbac?

Yes, rbac is not enabled yet

Looking at this output, im guessing you have 3 linux nodes and 2 windows nodes?

NAMESPACE NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
kube-system calico-node 3 3 3 3 3 kubernetes.io/os=linux 23d
ingress nginx-ingress-microk8s-controller 5 5 3 5 3 16h
kube-system csi-smb-node 3 3 3 3 3 kubernetes.io/os=linux 15h
kube-system csi-smb-node-win 2 2 2 2 2 kubernetes.io/os=windows 15h

Just like this csi-smb-node-win DaemonSet where there are 2 pods on windows.

I don’t see it for the calico-nodes on windows.

My guess is that it should have the selector kubernetes.io/os=windows for calico-node DaemonSet.

Fyi, i’ve never tried kubernetes on windows at all tho, but just tryin to help. :blush:

1 Like

Hi, Does anyone know where are the images stored in the node or cluster? In my windows node, I tried to find it by tying docker image ls or ctr image ls; none of them can find any; also in the Linux node, please? Because I tried to delete some images but in vain. Many thanks!

Try with microk8s ctr images list

Thanks for your reply always. I saw some daemonset images in the Linux nodes but I can’t find any in the windows nodes…by trying both docker image ls or ctr image ls.

I’ve not tried windows node at all, can you show all calico pods especially those on windows.