Navigation Menu

Skip to content

REBELinBLUE/k3s-rpi-cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes on Raspberry Pis

Build a Kubernetes (k3s) cluster with RPis and utilize GitOps for managing cluster state.

Thanks to the following pages

Pre-reqs:

  • This was done using a cluster of 4 x RPi 4 4GB
  • All Pi's are connected via a local ethernet switch on a 10.0.0.0/24 LAN
  • The master node connects to the outside world on WiFi, and provides NAT for the the rest of the cluster.

Directory layout description

.# Flux will scan and deploy from this directory
├── ./manifests
│   # Initial setup of the cluster
├── ./setup
│   │   # Scripts for setting things up
│   ├── ./bin
│   │   # Config for RPI
│   └─ ./nodes
│   # Docker builds for ARM devices
└── ./docker

Network topology

IP Function MAC Address
192.168.115.1 Router
192.168.115.193 Master wifi interface
10.0.0.0/24 k3s cluster CIDR
10.0.0.1 k3s master (master) dc:a6:32:67:76:f1
10.0.0.2 k3s worker (node-1) dc:a6:32:67:77:06
10.0.0.3 k3s worker (node-2) dc:a6:32:67:76:b8
10.0.0.4 k3s worker (node-3) dc:a6:32:67:77:3e

Hardware list

About

Setting up a K3S Kubernetes cluster using RPI4

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published