I have setup and installed IBM Cloud private CE with two ubuntu images in Virtual Box. I can ssh into both images and from there ssh into the others. The ICp dashboard shows only one active node I was expecting two.
I explicitly ran the command (from a root user on master node):
docker run -e LICENSE=accept --net=host \
-v "$(pwd)":/installer/cluster \
ibmcom/cfc-installer install -l \
192.168.27.101
The result of this command seemed to be a successful addition of the worker node:
PLAY RECAP *********************************************************************
192.168.27.101 : ok=45 changed=11 unreachable=0 failed=0
But still the worker node isn't showing in the dashboard.
What should I be checking to ensure the worker node will work for the master node?
You can check on your worker node with following steps:
check cluster nodes status
kubectl get nodesto check status of the newly added worker nodeif it's
NotReady, check kubelet log if there is error message about why kubelet is not running properly:systemctl status kubeletdocker ps -a|grep kubeletto get kubelet_containerid,docker logs kubelet_containerid