This is my configuration for local k3s cluster.
https://mkaciuba.com/blog/posts/homelab-2022-part-1/
https://mkaciuba.com/blog/posts/homelab-2022-part-2/
Compute:
- 4x RPi 4b 8GB RAM
- 2x RPi 4b 4GB RAM
- 2x AtomicPi
- 2x Cubieboard2
- 1x Lenovo T460
Network:
- Ubiquiti ER-10X EDGEMAX
- Ubiquiti UniFi US-8-60W
Network diagram:
Power supply:
- ATX ModeCom B88 500W
Project is divided by technology used for config.
Here you can find ansible playbook used for setup nodes and network. Folders:
- basic - here is basic configuration DNS, NFS client lib, script for controlling temperatur
- edgerouter - BGP configuration for ubiquiti edgerouter (adding nodes from cluster)
- k3s-ansible - copy-paste of ansible module to install k3s
Core infra that is installed to my cluster is managed by helmfile. Those components are:
- metallb - network loadbalancer for bare metal k8s
- prometheus, grafana, loki - for monitoring
- traefik for ingress
- nfs PVC provisioner
- cert-manager
- banzai vault-operator - for secret storage
- argocd - for apps deployment
- mariadb-operator - for managment of MariaDB
Helm charts for all of apps that are running inside of my cluster