Comments (5)
Hi @alexellis
Here is my cluster:
Name: selexin (Australia)
URL: https://selexin.com/2019/04/12/kubernetes-on-raspberry-pi-cluster.html
Useful notes:
4x RPi Cluster, running dnscrypt-proxy/sonarr/couchpotato/nzbget, among other things :)
Had some issues setting up Load Balancing and Persistent Volumes/Storage - which I am covering in my new blog, along with setting up the services mentioned :)
from k8s-on-raspbian.
Hi @alexellis -
Link to my cluster: https://twitter.com/dnachman/status/1094419142948593664
Everything went relatively smoothly except for the dashboard deployment. The pod was crashing/retrying. Eventually I went in to the logs and saw this:
kubectl logs pod/kubernetes-dashboard-head-7bc4868777-lzv9r -n kube-system 2019/02/10 16:41:21 Starting overwatch 2019/02/10 16:41:21 Using namespace: kube-system 2019/02/10 16:41:21 Using in-cluster config to connect to apiserver 2019/02/10 16:41:21 Using secret token for csrf signing 2019/02/10 16:41:21 Initializing csrf token from kubernetes-dashboard-csrf secret panic: secrets "kubernetes-dashboard-csrf" not found goroutine 1 [running]: github.com/kubernetes/dashboard/src/app/backend/client/csrf.(*csrfTokenManager).init(0x1f87250) /home/travis/build/kubernetes/dashboard/.tmp/backend/src/github.com/kubernetes/dashboard/src/app/backend/client/csrf/manager.go:40 +0x2fc github.com/kubernetes/dashboard/src/app/backend/client/csrf.NewCsrfTokenManager(0xef9d40, 0x1fb4120, 0x1, 0xa5c9d4) /home/travis/build/kubernetes/dashboard/.tmp/backend/src/github.com/kubernetes/dashboard/src/app/backend/client/csrf/manager.go:65 +0x4c github.com/kubernetes/dashboard/src/app/backend/client.(*clientManager).initCSRFKey(0x1f5a1e0) /home/travis/build/kubernetes/dashboard/.tmp/backend/src/github.com/kubernetes/dashboard/src/app/backend/client/manager.go:362 +0x70 github.com/kubernetes/dashboard/src/app/backend/client.(*clientManager).init(0x1f5a1e0) /home/travis/build/kubernetes/dashboard/.tmp/backend/src/github.com/kubernetes/dashboard/src/app/backend/client/manager.go:330 +0x34 github.com/kubernetes/dashboard/src/app/backend/client.NewClientManager(0x0, 0x0, 0x0, 0x0, 0x1, 0x0) /home/travis/build/kubernetes/dashboard/.tmp/backend/src/github.com/kubernetes/dashboard/src/app/backend/client/manager.go:398 +0x6c main.main() /home/travis/build/kubernetes/dashboard/.tmp/backend/src/github.com/kubernetes/dashboard/src/app/backend/dashboard.go:99 +0x104
Looking at the main dashboard, I executed this to create the kubernetes-dashboard-csrf:
echo 'apiVersion: v1 kind: Secret metadata: labels: k8s-app: kubernetes-dashboard name: kubernetes-dashboard-csrf namespace: kube-system type: Opaque data: csrf: ""' | kubectl apply -f -
And then everything worked.
You might also want to include the port forwarding command (if people are running headless) and the dashboard url:
ssh -L 8001:localhost:8001 node-1
Good stuff! Now I've got to go build some new arm docker images for my code (already had x86)
from k8s-on-raspbian.
Hello @alexellis,
Here is the link to my RPi cluster:
https://twitter.com/ravidsinghbiz/status/1094529653362966528
Thank you,
- Ravi
from k8s-on-raspbian.
@dnachman please raise a separate issue.
from k8s-on-raspbian.
Here it is mine:
https://twitter.com/henry2man/status/1085674266115407878
Nodes: 1x PI 3B & 2x PI 3B+
PSU: Anker 60W 6 port
Switch: TP-Link GIGABIT 5 ports powered by a USB-to-barrel adapter from PSU
Planned upgrade (waiting for shipping🤞): 1x PI 4B 4Gb
OS: Raspbian Stretch
Docker engine
K8s: #K3S
from k8s-on-raspbian.
Related Issues (15)
- question - One node cluster - memory footprint HOT 1
- 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
- Flannel installation yaml file link is out of date HOT 7
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.