cluster info discovery - Failed to request cluster info

1,275 views
Skip to first unread message

Jiyun Kang

unread,
Jan 19, 2017, 9:46:56 PM1/19/17
to Kubernetes user discussion and Q&A
Hi Everyone,

I am trying to set up a k8s cluster on top of raspberry pi; currently using Hypiriot image and followed their website instruction.

After successfully creating its master node, I executed "kubeadm join" command from on of slave node. And then, it keep spitting out the connection refused error msg. Any thoughts?

$ kubeadm join --token=f97c0b.f12d4dd0f92ff96e 192.168.1.246
[kubeadm] WARNING: kubeadm is in alpha, please do not use it for production clusters.
[preflight] Running pre-flight checks
[tokens] Validating provided token
[discovery] Created cluster info discovery client, requesting info from "http://192.168.1.246:9898/cluster-info/v1/?token-id=f97c0b"
[discovery] Failed to request cluster info, will try again: [Get http://192.168.1.246:9898/cluster-info/v1/?token-id=f97c0b: dial tcp 192.168.1.246:9898: getsockopt: connection refused]
[discovery] Failed to request cluster info, will try again: [Get http://192.168.1.246:9898/cluster-info/v1/?token-id=f97c0b: dial tcp 192.168.1.246:9898: getsockopt: connection refused]

Many thanks in advance,
-Jiyun :)

Edward Midolo

unread,
Jan 29, 2017, 12:42:39 PM1/29/17
to Kubernetes user discussion and Q&A
Firewall?

Jiyun Kang

unread,
Feb 1, 2017, 10:01:09 PM2/1/17
to Kubernetes user discussion and Q&A
I think something didn't setup properly during the "init" process. It works fine after applying "kubeadm reset" & "rm -Rf /var/lib/docker".

Thanks for your help! :)

2017년 1월 29일 일요일 오후 12시 42분 39초 UTC-5, Edward Midolo 님의 말:
Reply all
Reply to author
Forward
0 new messages