Comments (7)
I tried the new link and it crashes my Raspberry (Master).
After I apply it:
kube-flannel-ds-arm-r7kwl 0/1 PodInitializing 0 7s
and then it crashes, am I doing something wrong?
I've just started playing with Kubernetes in Raspberry Pi's.
from k8s-on-raspbian.
What comes back when you run kubectl describe pod kube-flannel-ds-arm-r7kwl
?
from k8s-on-raspbian.
I think that flannel installed successfully because
pi@k8s-master:~ $ kubectl get pods --namespace=kube-system
NAME READY STATUS RESTARTS AGE
coredns-86c58d9df4-5rpnj 0/1 ContainerCreating 0 66m
coredns-86c58d9df4-dv6c9 0/1 ContainerCreating 0 66m
etcd-k8s-master 1/1 Running 1 65m
kube-apiserver-k8s-master 1/1 Running 1 66m
kube-controller-manager-k8s-master 1/1 Running 1 65m
kube-flannel-ds-arm-9bzfr 1/1 Running 0 19s
kube-flannel-ds-arm-j9k2s 1/1 Running 0 19s
kube-proxy-rpf84 1/1 Running 0 48m
kube-proxy-vv67p 1/1 Running 1 66m
kube-scheduler-k8s-master 1/1 Running 1 66m
and
pi@k8s-master:~ $ kubectl get nodes
NAME STATUS ROLES AGE VERSION
k8s-master Ready master 79m v1.13.3
k8s-node-1 Ready <none> 61m v1.13.3
But then it crashed (ssh terminated and not responding if I try to ssh again) so I had to cut it's power in order to force-reboot it.
After it booted, it was working as expected (pods Running) but it crashed again after a minute or so while I was typing:
kubectl get pods --namespace=kube-system
Any idea why is this happening?
from k8s-on-raspbian.
What comes back when you run
kubectl describe pod kube-flannel-ds-arm-r7kwl
?
pi@k8s-master:~ $ kubectl get pods --namespace=kube-system
NAME READY STATUS RESTARTS AGE
coredns-86c58d9df4-5rpnj 1/1 Running 0 92m
coredns-86c58d9df4-dv6c9 0/1 Error 12 92m
etcd-k8s-master 1/1 Running 3 91m
kube-apiserver-k8s-master 1/1 Running 3 92m
kube-controller-manager-k8s-master 1/1 Running 3 91m
> kube-flannel-ds-arm-9bzfr 1/1 Running 0 26m
> kube-flannel-ds-arm-j9k2s 0/1 Error 3 26m
kube-proxy-rpf84 1/1 Running 0 75m
kube-proxy-vv67p 1/1 Running 3 92m
kube-scheduler-k8s-master 1/1 Running 3 92m
kubernetes-dashboard-head-7bc4868777-4qnj9 0/1 CrashLoopBackOff 1 88m
Crashed again.
from k8s-on-raspbian.
I'm currently using Weave net with success. I'd recommend switching over and logging and issue with the flannel folks and checking their issue tracker of course.
Also double check that each Pi has s unique machine ID.
Alex
from k8s-on-raspbian.
@alexellis I've tried Weave Net before I switched to Flannel and it kept crashing too.
I think the problem is that CoreDNS is in CrashLoopBackOff and Error state and after a while it crashes the Pi.
coredns-86c58d9df4-dv6c9 0/1 Error 21 112m
I sometimes get this too:
pi@k8s-master:~ $ kubectl get pods --namespace=kube-system
Unable to connect to the server: net/http: TLS handshake timeout
from k8s-on-raspbian.
Sigh, one week Flannel works and the next Weave net, then they both push code and one breaks and the other gets fixed. I hope this will improve over time.
Thanks for the PR you raised, I'll now close this issue.
Alex
from k8s-on-raspbian.
Related Issues (15)
- question - One node cluster - memory footprint HOT 1
- Readers' RPi clusters HOT 5
- I am getting http://localhost:10248/healthz: dial tcp [::1]:10248: connect: connection refused. error. HOT 11
- Failed to find subsystem mount for required subsystem: pids HOT 22
- Getting a few errors when trying to create my cluster HOT 8
- sudo kubeadm init always fails HOT 2
- Update swap disable instructions in GUIDE.md HOT 5
- "Install Docker" missing slash
- No curl response from pod service HOT 8
- Unattributed cut&paste? HOT 1
- GUIDE.md, "Start up the Kubernetes dashboard" section, outdated? HOT 1
- My Raspberry Pi Kubernetes cluster HOT 1
- Dashboard in PI Cluster HOT 11
- /proc/sys/net/bridge/bridge-nf-call-iptables not found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k8s-on-raspbian.