Hi, I'm unable to join worker node. Getting this error. can someone please help. . . .

Deepak Ladwa:
Hi,
I’m unable to join worker node. Getting this error. can someone please help.

Failed to request cluster-info, will try again: Get "<https://192.168.1.34:6443/api/v1/namespaces/kube-public/configmaps/cluster-info?timeout=10s>": dial tcp 192.168.1.34:6443: connect: connection refused

Phani M:
@Deepak Kumar Sahu seems worker node is not able to reach the master. Can you please check if node-to-node (intra node communication) is open, no firewall rules or iptables is not blocking it?
If it is a Ubuntu 18.04 Linux machine, try to run this command to flush the iptables:

ptables -t nat -F &amp;&amp; iptables -F &amp;&amp; iptables -t mangle -F

Deepak Ladwa:
@Phani M - node to node communication is intact, and no issues. Even FW is disabled

Phani M:
hmmm…

  1. just to double check, is the master node (kube-api server’s) IP address is correct? 192.168.1.34 and listening on correct port 6443?
  2. are the certs of worker node trying to join are correct? signed by the same ca cert as of master?

Phani M:
@Deepak Kumar Sahu I believe you are trying to join a worker node being deployed on a virtualbox via Vagrant
I faced similar issue today
Are you trying to bring up a worker node as a virtualbox on the same VM as kubemaster’s virtualbox or a different VM?

Deepak Ladwa:
@Phani M I have hosted VM using VMware. Using 2 VMs, one for each master & worker node.