This will repository will be used to contain my approach and thoughts in written form as I build out a cluster of Raspberry Pis. Inspired by the work of Jeff Geerling and Network Chuck to build my own Pi cluster and some other over ambitious ideas I have.
The following pieces of equipment was used in this build:
- 4x Raspberry Pi 4 8GB
- 4x Raspberry Pi PoE+ HAT
- UniFi Lite 8-Port Gigabit PoE+ Compliant Managed Switch
- 6x Cat 6 Patch Cables (1 Feet)
- Yahboom Raspberry Pi Cluster Case
Raspberry Pi 4's obtained through Adafruit, Pi-Shop and Ebay...
16 ARMv7 CPU Cores 32 GB RAM 32 GB microSD flash-based storage 1 Gbps private network with PoE
"14.april: Ansible"
Automated the bring-up of the Bramble Cluster using Ansible. Running ansible-playbook ./playbooks/playbook.yml
will create bring-up cluster and place a kubeconfig in the playbook directory. Thereafter copy the k3sconfig to ~/.kube/config and you should be able to do kubectl get nodes
from your local machine. Reminder to update to the IP address specified in the k3sconfig from 127.0.0.1 to 192.168.1.100.
"20.april: Reorganization" All application manifests deployed within the Bramble (kubernetes) cluster can be found within the kubernetes/ folder, organized by sub-folders representing kubernetes namespaces deployed within the cluster.
Under Construction
- https://devopscube.com/node-exporter-kubernetes/
- https://devopscube.com/setup-prometheus-monitoring-on-kubernetes/
- https://man.ilayk.com/gist/kubernetes%20cloudflared%20deployment%20with%20podmonitor/
- https://github.com/cloudflare/argo-tunnel-examples/blob/master/named-tunnel-k8s/cloudflared.yaml
- https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/deploy-tunnels/deployment-guides/kubernetes/