GithubHelp home page GithubHelp logo

home-k8s-cluster's Introduction

Home K8s Cluster

I have been wanting to take a deep dive into Kuber

This is a repo to hold various deployments for my home microk8s cluster with 4x RPi 4 8GB worker nodes.

Rack Mount

I 3D printed this design from thiniverse that will allow for 14 RPi sleds with the mouting holes for a 2.5" SSD on each. Currently I just have one Pi that has a SSD that is running a NFS server that the NFS StorageClass uses to dynamically provision persistant storage for the pods.

The master node is a 4GB Pi 4, and the 4 worker nodes are 8GB Pi 4's all powered via PoE with the official PoE Hat. The PoE switch I am using is a HP V1910-24G-PoE JE007A that I picked up from FreeGeek, a local computer recycling center and shop.

In addition to the small amount of cooling the PoE hat fan provides, there are 80mm fans on the back of the rack pulling air across the Pi's for extra cooling.

RPi Rack

journalctl -u snap.microk8s.daemon-kubelet

Pod not scheduling?

kubectl get nodes -o wide
kubectl get events

// View Logs
kubectl logs <POD_NAME>

Aliases

alias kubedebug="kubectl run -i --tty --rm debug --image=busybox --restart=Never --"

https://betterprogramming.pub/useful-kubectl-aliases-that-will-speed-up-your-coding-54960185d10`

https://www.jeffgeerling.com/blog/2020/raspberry-pi-cluster-episode-4-minecraft-pi-hole-grafana-and-more

https://www.careyscloud.ie/pihole_metallb

https://github.com/carlosedp/cluster-monitoring#quickstart-for-k3s

home-k8s-cluster's People

Watchers

 avatar

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.