I ran into this issue earlier whereby I already have a working cluster with one master node and one worker node including the Calico CNI installed. I wanted to have another worker node, so what I did was; I cloned the existing worker node, change the IP address, giving it its own hostname and added the IP address to the master node's /etc/hosts
. I understand that this is not the right way to do it but me and my colleagues is trying this out for fun. Anyway, I've added the second worker node (previously cloned from first worker node) to the cluster using kubeadm join
. Then, I realized that no Calico pod is being created or scheduled on that worker node. Also, the other Calico pod also seems to be failing, its showing 0/1
when I do kubectl get pods
.
Can anyone explain to me why does the Calico pod not scheduled on the second worker node? From my understanding, a DaemonSet schedules a copy of the Pods on each of the nodes, but will it schedule a pod on a newly joined worker node?
P.S. I've already fix the Calico pod issue. What I did was remove Calico completely and added it back to the cluster.