https://rancher.com/ logo
Title
h

hundreds-evening-84071

08/19/2022, 1:58 PM
Hello, I have RKE2 cluster,
v1.23.7
Have following config: 1 control plane/etcd node (rhel 8) 2 Windows worker nodes. 1 is server 2022 and another is server 2019 For some reason, I see one coredns pod stays in pending state; looking at the log for that pod it does not contain any entry. So, am trying to figure out why this is?
# kubectl get pods -n kube-system | grep dns
helm-install-rke2-coredns-mn6h6 0/1 Completed 0 31d
rke2-coredns-rke2-coredns-86b4fbd678-brpcm 0/1 Pending 0 4s
rke2-coredns-rke2-coredns-86b4fbd678-csqxh 1/1 Running 0 22m
rke2-coredns-rke2-coredns-autoscaler-65c9bb465d-tcv27 1/1 Running 0 31d
c

creamy-pencil-82913

08/19/2022, 5:11 PM
Coredns can only run on Linux nodes, and both pods won't run on the same node since that doesn't give you any additional protection from a HA perspective. The pod will remain pending until you scale down the deployment, or add another Linux node for it to run on.
h

hundreds-evening-84071

08/19/2022, 8:12 PM
Many thanks for the explanation. have a great weekend