https://rancher.com/ logo
Title
h

hundreds-evening-84071

03/27/2023, 8:11 PM
Windows cluster question... I have RKE2 (v1.23.16+rke2r1) cluster with 2 nodes. • A single Linux node with Control Plane / Etcd / Worker • A single Windows Server 2019 Standard - Worker Question is about
rke2-coredns-rke2-coredns
There are 2 pods for rke2-coredns and first is running on Linux node second remains in pending state, Is this one of those things that will only run on Linux?
r

refined-analyst-8898

03/27/2023, 8:25 PM
Hello and welcome. I haven't personally tried to use a Windows node or Windows containers at all, but I know that Linux containers, or just "containers" typically, are a feature of Linux. I expect you can only run Windows containers on Windows, unless you're running a Linux VM in Windows, which is the case with WSL2.
h

hundreds-evening-84071

03/27/2023, 8:30 PM
So, this is in kube-system, and not something I created and trying to run...
# kubectl get po -n kube-system | grep dns
helm-install-rke2-coredns-c5mjq                         0/1     Completed   0               11d
rke2-coredns-rke2-coredns-6f48f5db78-2m2pv              0/1     Pending     0               37m
rke2-coredns-rke2-coredns-6f48f5db78-j9zfr              1/1     Running     0               4h2m
rke2-coredns-rke2-coredns-autoscaler-695fc554c9-wmllb   1/1     Running     0               37m
c

creamy-pencil-82913

03/27/2023, 8:49 PM
Yes, coredns is Linux only. If you don't provide as many Linux nodes as there are replicas, then some of them will remain pending.
h

hundreds-evening-84071

03/27/2023, 8:49 PM
thank you