Reputation: 7198
I am trying to setup kubernetes cluster on raspberry pi. I have two pi, one of them will work as master and other one will work as worker.
I am not using Hypriot Os
instead using Raspbian stretch
image. I followed these tutorial link1 link2. Link1 recommend to use Hypriot Os
but I continued with Raspbian Stretch
. This is what I have done till now on both master and worker:
Till now everything seems to working ok. But while running the command kubectl get nodes
, I get:
NAME STATUS ROLES AGE VERSION
raspberrypi NotReady master 1h v1.8.4
worker NotReady <none> 40m v1.8.4
My first question is why it shows worker as NotReady
even my worker pi is on and running.
Next question is how can I access the cluster from the its dashboard. How to install dashboard.?
Upvotes: 0
Views: 168
Reputation: 209
It is showing you status as NotReady
because you have not installed any networking driver for it. Weave
is suitable for networking in case of Raspberry pi. You can install it by using below commands:
kubectl apply -f https://git.io/weave-kube-1.6
Have a look at these tutorials:
https://www.youtube.com/watch?v=zc0sbXwONM4&list=PLWw98q-Xe7iHSVH-AE9hDGBFtC9rFxcME
Upvotes: 1
Reputation: 18373
Issues have been resolved in the comment section.
for debugging k8s Nodes in the cluster, we use the following command to get precise information
get the list of nodes
kubectl get nodes
get the comprehensive info
kubectl describe nodes NODE_NAME
by the above system information, we can verify and validate the status of kubelet docker and kube-proxy
Upvotes: 1