2 worker nodes do not come in running state because of following error.
Events:
Type Reason Age From Message
Normal Scheduled default-scheduler Successfully assigned kube-system/portworx-vc6np to 10.221.167.174
Normal Pulling 46s kubelet, 10.221.167.174 Pulling image “portworx/oci-monitor:2.5.2”
Normal Pulled 45s kubelet, 10.221.167.174 Successfully pulled image “portworx/oci-monitor:2.5.2”
Normal Created 45s kubelet, 10.221.167.174 Created container portworx
Normal Started 45s kubelet, 10.221.167.174 Started container portworx
Warning Unhealthy 5s (x4 over 35s) kubelet, 10.221.167.174 Readiness probe failed: HTTP probe failed with statuscode: 503
Issue was related to the node labels for kvdb, only one node was labeled, we added the px/meteadata-node=true on other nodes and it formed the KVDB cluster. Also there we did the complete wipe as initially the ports were not opened on firewall.
You don’t need to label if your cluster size is 3, that is helpful if you have larger cluster size and want to dedicate the nodes for KVDB.