I initialized the master node and add 2 worker nodes, but only master and one of the worker node show up when I run the following command:
kubectl get nodes
I found applying the network and rebooting both the nodes did the trick for me.
kubectl apply -f [podnetwork].yaml