Skip to content

ThomasCardin/homelab

Repository files navigation

kubernetes

Homelab Kubernetes Cluster

My homelab running K3S on a Turing Pi 2

Nodes setup using Ansible

Create the cluster using Ansible:

  1. Go to ansible/inventory and change the controlplane and workers IP addresses.
  2. Go to ansible/playbooks/playbook-worker.yml and change the controlplane IP (line 36).
  3. Go to ansible/variables.yml and add your k3s token.
  4. Run this command at the root folder:

This command runs the k3s installation script with specific options to disable several components including flannel backend, network policy, cloud controller, servicelb, traefik, metrics-server, and kube-proxy in preparation to install Cilium.

ansible-playbook -i ansible/inventory ansible/playbook.yml --user=<YOUR-USER> --ask-pass -vvv

Hardware specification

Hardware Item Count Link
Turing Pi 2 board x1 Link
Turing Pi RK1 - 16GB x4 Link
Seagate IronWolf 8TB NAS Internal Hard Drive HDD x2 Link
Corsair RM750e (2023) x1 Link
Samsung Series 980 – 500 Go PCIe Gen3. X4 NVMe 1.4 - Internal SSD M.2 x1 Link
Samsung Series 980 - 1 To PCIe Gen3. X4 NVMe 1.4 - Internal SSD M.2 x3 Link
MikroTik hAP ax2 US Version x1 Link
MATX 2U Rackmount Server Chassis with 1x5.25 Front Bay / mATX/Mitx Support x1 Link

Software dependencies within the kubernetes cluster

See this link

About

My homelab running K3S on a Turing Pi 2 board

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published