kubernetes-up-and-running / kuard

Demo app for Kubernetes Up and Running book
Apache License 2.0
1.61k stars 541 forks source link

Issue setting up Pi cluster #26

Closed Dieter123 closed 5 years ago

Dieter123 commented 5 years ago

Hello, i am following the german verison of the Book kubernetes-up-and-running. After several days of frustrating work I finally got all my Pi s up and kubernetes installed on all of them. Since later versions don´t work or have a different setup than described, I use the hypriotOS v1.6.0.

I am stuc at setting up the cluster. In the german book it says to type in the following command:

$kubeadm init --pod-network-cidr 10.244.0.0/16 --api-advertise-addresses 10.0.0.1

I already figured that the corrct line should be:

$kubeadm init --pod-network-cidr 10.244.0.0/16 --apiserver-advertise-address 10.0.0.1

but executing this leds me to beeing stuck [etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests" [wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory"/etc/kubernetes/manifests". This can take up to 4m0s [kubelet-check] Initial timeout of 40s passed. Unfortunately, an error has occurred: timed out waiting for the condition ...

Full Output attached.

Output.txt

Does anyone know how to fix this?

jbeda commented 5 years ago

Check out https://github.com/kubernetes-up-and-running/kuard/issues/9. That may help. But as this isn't an issue with kuard, I'm going to close this.

/cc @brendandburns so he knows as we look to update the book.

Thanks!