-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kube-config enable-worker can't find master... #140
Comments
I don't know but any chance you can follow the instructions on http://kubernetes.io/docs/getting-started-guides/kubeadm/ on a plain HypriotOS v1.0.1+ install? |
Thanks Lucas. This is exactly what I've tried before stumbling on your blog I really wanted to leverage kubeadm on arm but it did not work for me with But if you think, folks are able to make it work, I am all ears... Thanks! On Tue, Oct 25, 2016 at 3:48 PM, Lucas Käldström [email protected]
|
It should be a plain HypriotOS install, follow the instructions exactly on the kubeadm page and do not install anything from kubernetes-on-arm. Also you need to set |
Thanks for the advise Lucas! I did try k8s_vers option but did not try the cidr opt. Also the instructions specify installing docker. My limited understanding On Wed, Oct 26, 2016 at 12:31 AM, Lucas Käldström [email protected]
|
Do you know if kube-config is using port 443 or 8080 to talk with the On Tue, Oct 25, 2016 at 5:07 PM, Fernand Galiana [email protected]
|
Docker on ARM is supported yes, but as you said, there's no need to install it on HypriotOS where it is by default. But you should use HypriotOS v1.0.1 otherwise it won't work |
Thanks Lucas! Crap, my bad!! Totally missed the rev in the docs Got a bit further but now getting this issue setting up the pod network. Per the docs I need to run this cmd: ARCH=arm curl -sSL Which leads to this error: DaemonSet in version "v1beta1" cannot be handled as a DaemonSet: [pos Guessing it's missing the req spec.selector?? apiVersion: extensions/v1beta1 On Wed, Oct 26, 2016 at 12:00 PM, Lucas Käldström [email protected]
|
Hi all, Back in k8s on arm (but not only) ! :-) @luxas: giving a try to kubeadm on my RPI's too.
It's Hypriot 1.0.1+, exact ? So it should work with 1.1.1.
Can we use K8S 1.4.5 too ? @larmog wrote a blog post using 1.4.3 For pod, I understood it's required only if we plan to use flannel. @larmog mentionned that we could use weave. Is it supported or should we stick with flannel ? Thanks, |
Answering myself, it works as is:
But when trying to instlall weave, I got a strange error:
Looking at containers:
If it should be accessible on localhost:2379, then some port directives seems to be missing. Indeed:
Also normal that on a RPI3, load avegage is >4 most of the time (up to 6) Also a strange thing I had was I had to reinstall kubectl as /usr/bin/kubectl was missing, whereas I have it on my other nodes when I just install kubeadm and other packages. Should I restart from vanillia hypriotOS as it's my third try with erasing as the doc suggested my case:
|
The problem is that the load is too high for the Pi.
and do See: kubernetes/kubernetes#33859 Can you make a new issue on this repo with all these findings and suggestions and we'll move discussion to there? |
Ok I will ; thanks :) |
Hi,
First off, thank you so much for putting together this distro. Way cool!
I think I have a good install of v0.8.0 and the master node seems healthy. Using rpi-3 and Hypriot install.
kubectl get no - reports successfully.
However when I try to have my minions join the master I get the following error:
kube-config enable-worker 192.168.0.12
Using master ip: 192.168.0.12
The Kubernetes master was not found.
Exiting...
Usage:
kube-config enable-worker [master-ip]
I've checked /boot/cmdline.txt and the cgroup is correctly set now. I can ping the master ip but think it might be a firewall issue but not really sure how to resolve as my unix foo is failing me. Ping master from a minion works and telnet on 443 works too.
What am I missing?
Thank you!
The text was updated successfully, but these errors were encountered: