Coder Social home page Coder Social logo

Readers' RPi clusters about k8s-on-raspbian HOT 5 OPEN

alexellis avatar alexellis commented on May 27, 2024
Readers' RPi clusters

from k8s-on-raspbian.

Comments (5)

se1exin avatar se1exin commented on May 27, 2024 1

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.

dnachman avatar dnachman commented on May 27, 2024

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

http://localhost:8001/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard-head:/proxy/#/overview?namespace=default

Good stuff! Now I've got to go build some new arm docker images for my code (already had x86)

from k8s-on-raspbian.

ravidsinghbiz avatar ravidsinghbiz commented on May 27, 2024

Hello @alexellis,

Here is the link to my RPi cluster:
https://twitter.com/ravidsinghbiz/status/1094529653362966528

Thank you,

  • Ravi

from k8s-on-raspbian.

alexellis avatar alexellis commented on May 27, 2024

@dnachman please raise a separate issue.

from k8s-on-raspbian.

henry2man avatar henry2man commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.