Documentation and configuration for my attempt to bootstrap configure my home cluster from a github repo
APACHE-2.0 License
UPDATE for Oct 2024
Moving on to a second attempt at this here https://github.com/gilesknap/IaC-at-home2
PROJECT STALLED
I got bogged down in creating a kubernetes image for raspberry pi and have moved on to other projects for the time being.
I did get as far as making a MAAS deployed cluster and helping to write this tutorial for Canoncial
WORK IN PROGRESS
Documentation and configuration for my attempt to bootstrap and maintain my home cluster with MAAS and Cluster API.
See previous work in setting up a k3s cluster here https://github.com/gilesknap/k3s-minecraft. The goal is to migrate over all applications from the previous cluster.
The NAS will provide storage and any 'outside of the cluster' services needed for bootstrapping/management. This will primarily be storage plus one or more VMs to run the MAAS and cluster API management node(s).
I did some investigation into PXE booting for Raspberry Pi. However, all of this is superseded by MAAS and UEFI for Raspberry Pi.
Next I set up Canonical MAAS and a cluster management cluster.
At present (Mar 2022) I have Canonical MAAS deploying focal to the PIs (and an Intel NUC). I'm able to kick off deployment using the ClusterAPI and SpectroCloud's MAAS provider but the deploy fails because focal needs a min kernel and the provider does not yet expose control of that.
A few things could fix this:
In the meantime, I'm looking into how to uplift a ubuntu machine to a Kubernetes node.