binnes / k8s-RaspberryPi

Automated setup of a Raspberry Pi Kubernetes cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

k8s-RaspberryPi

This project aims to create a process that as far as is possible will automate the setup of a Raspberry Pi Kubernetes cluster.

The initial steps of flashing the SD cards and creating the base Raspberry Pi image is a one time process, but once completed, this project will enable automated teardown and rebuild of the Kubernetes cluster.

The project relies on a central controller machine, which I chose not to be a Raspberry Pi, which is a Linux machine with Ethernet connectivity that exports a NFS share. This will host the filesystems of all the Raspberry Pi machines. The NFS share will also provide storage to the Kubernetes cluster.

hardware

The basic cluster will comprise of the following setup

kubernetes

The following documents (in the docs folder of this repo) have all the details you need to create your own Kubernetes cluster:

  1. Hardware - details of my hardware setup
  2. Initial setup - how to do the initial setup of infrastructure
  3. Raspberry Pi automated installs - the scripts to automate the setup of the Raspberry Pis

About

Automated setup of a Raspberry Pi Kubernetes cluster

License:Apache License 2.0


Languages

Language:Python 87.9%Language:Shell 11.0%Language:Dockerfile 1.1%