Multi-arch Kubernetes cluster for experimenting with various tools.
Hardware (or any combination):
- 3x+ Rock64 SBC's running Ubuntu and Kubernetes
- 6x workers with eMMC/SD disk
- OS image on media - latest bionic-minimal-rock64 or Armbian
- 1x AMD64 Host running KVM
- 3x controllers with 3xUSB SATA SSD provisioned with Terraform, more reliable than Rock64.
- 3x workers for AMD64 only apps
Software:
Networking:
Item | Range |
---|---|
Network | 192.168.2.0/24 |
Gateway | 192.168.2.1 |
Ingress | 192.168.3.0/28 |
AMD64 K8s Masters | 192.168.2.32 |
ARM64 K8s Workers | 192.168.2.64+ |
- Rock64 Serial - From right, skip 2 pins, ground (6), TX (8), RX (10)
sudo minicom -s -D /dev/ttyUSB0 -b 1500000 --color=on
- Prepare hardware
- Provison Terraform nodes
- TODO:
make deploy-terraform
- TODO:
- Configure Ansible
- Edit Ansible inventory, variables as required
make deploy-ansible-site
- Deploy Kubernetes applications
- TODO:
make deploy-kubernetes
kubectl apply -f kubernetes/
- TODO:
- BGP Peer EdgeRouter and Metallb
make deploy-ansible-edgeos