I am using Ubuntu 16.04 (Xenial) but here's a problem which I face with kubeadm
while joinig nodes
to my master
:
While joining a node
to my master
, I continuouly get a timeout issue -
[discovery] Failed to request cluster info, will try again: [Get
https://{{MASTER_IP}}/api/v1/namespaces/kube-
public/configmaps/cluster-info: dial tcp {{MASTER_IP}}: i/o timeout]
[discovery] Failed to request cluster info, will try again: [Get
https://{{MASTER_IP}}/api/v1/namespaces/kube-
public/configmaps/cluster-info: dial tcp {{MASTER_IP}}: i/o timeout]
Note: I have deliberately changed my IP addresses to {{MASTER_IP}} which is nothing but the Master's IP address.
I can ping the master
from my node
. I can even ssh
into it but I can't join it to the cluster. I must also mention that I am not operating behind a proxy (I added this later)
I have tried with flags like no_proxy={{MASTER_IP}}
. I have also tried initiating the cluster on the master with the command
sudo kubeadm init --apiserver-advertise-address={{MASTER_IP}}
Where can I possibly go wrong? Please help guys.!!
P.S. - I have gone through the git issues which are related to this. I've tried their solutions but in vain. Here's a link to one of them - https://github.com/kubernetes/kubernetes/issues/58921
proxy
(which I'm not), as I mentioned I can ping and ssh normally to the master machine. What am I missing? – Aryak Sengupta