-
Notifications
You must be signed in to change notification settings - Fork 706
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
Kubeadm on arm... #18
Comments
From @errordeveloper on October 26, 2016 17:28 cc @luxas |
From @luxas on October 26, 2016 17:31 Did you use Hypriot v1.0.1 as stated in docs? |
From @nlamirault on October 26, 2016 18:39 @luxas I've got the same issue with Hypriot 1.0.0. Where i can download the 1.0.1 image ? |
From @derailed on October 26, 2016 18:49 Nicolas - try https://github.com/hypriot/image-builder-rpi/releases On Wed, Oct 26, 2016 at 12:40 PM, Nicolas Lamirault <
|
From @derailed on October 26, 2016 19:25 Thanks for pointing this out @luxas! This was indeed a pilot error. Did get further so we can close this issue. Tho the master is now coming up, setting up the pod network using flannel per the docs results in an error.
Yields Error from server: error when creating "flannel.yml": DaemonSet in version "v1beta1" cannot be handled as a DaemonSet: [pos 1115]: json: expect char '"' but got char 'n' Think the node selector config in the flannel config is incorrect nodeSelector: |
From @derailed on October 26, 2016 19:31 Probably a bug in the template, me think the nodeSelector should be: nodeSelector: |
From @luxas on October 26, 2016 19:34 Ok, seems like the ARCH=arm thing is working poorly then. Try just running curl -sSL https://raw.githubusercontent.com/luxas/flannel/update-daemonset/Documentation/kube-flannel.yml | sed "s/amd64/arm/g" | kubectl create -f - |
From @derailed on October 26, 2016 21:26 Thank you all for the prompt support! |
From @nlamirault on October 27, 2016 11:52 using v1.4.4, process go to the end : $ sudo kubeadm init --use-kubernetes-version v1.4.4 --api-advertise-addresses=192.168.1.23 --pod-network-cidr=10.244.0.0/16
<master/tokens> generated token: "482d60.042c2504ce81cd32"
<master/pki> created keys and certificates in "/etc/kubernetes/pki"
<util/kubeconfig> created "/etc/kubernetes/kubelet.conf"
<util/kubeconfig> created "/etc/kubernetes/admin.conf"
<master/apiclient> created API client configuration
<master/apiclient> created API client, waiting for the control plane to become ready
<master/apiclient> all control plane components are healthy after 38.573899 seconds
<master/apiclient> waiting for at least one node to register and become ready
<master/apiclient> first node is ready after 1.535058 seconds
<master/discovery> created essential addon: kube-discovery, waiting for it to become ready
<master/discovery> kube-discovery is ready after 814.040634 seconds
<master/addons> created essential addon: kube-proxy
<master/addons> created essential addon: kube-dns
Kubernetes master initialised successfully!
You can now join any number of machines by running the following on each node:
kubeadm join --token 482d60.042c2504ce81cd32 192.168.1.23 But kubectl fails :
The etcd container logs : https://gist.github.com/nlamirault/d84e77e02276d158493f15f249324ba5 |
From @nlamirault on October 27, 2016 12:14 i try the unstable version of kubeadm with reset command. Then i try another init. Etcd container is up, but i've got logs :
|
From @derailed on October 26, 2016 17:23
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):
No
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):
kubeadm arm
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Bug
Kubernetes version (use
kubectl version
):Environment:
Raspberry Pi 3
HypriotOS v 1.0
uname -a
):Linux m10 4.4.15-hypriotos-v7+ #1 SMP PREEMPT Mon Jul 25 08:46:52 UTC 2016 armv7l GNU/Linux
What happened:
Following kubeadm installation docs. I've installed the prereqs and proceeded with the init as follows:
kubeadm init --use-kubernetes-version v1.4.1 --pod-network-cidr=10.244.0.0/16
The command is stuck on:
Looking at docker on this node expecting to see images being installed for etcd, api-server, etc..
but docker images reports nothing. Guessing kubeadm is somehow no able to connect with local docker daemon? or the default Hypriot docker configuration is not jiving with kubeadm??
What you expected to happen:
kubeadm init to complete successfully
How to reproduce it (as minimally and precisely as possible):
o Download Hypriot v1.0 image and flash on SD card
o Boot rp with SD card
o curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
o cat < /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
o apt-get update
o apt-get install -y kubelet kubeadm kubectl kubernetes-cni
o kubeadm init --use-kubernetes-version v1.4.1 --pod-network-cidr=10.244.0.0/16
Anything else do we need to know:
Looking at /etc/kubernetes/manifests shows:
etcd.json kube-apiserver.json kube-controller-manager.json kube-scheduler.json
Inspecting journalctl on kubelet shows:
Copied from original issue: kubernetes/kubernetes#35643
The text was updated successfully, but these errors were encountered: