Modified: 2023-01
Micro-service deployment manifests and automation for in-house test infrastructure.
The in-house servers are 7 RPi CM3B+ modules on a TuringPi v1.1 Motherboard.
- Install
ansible
for your platform following the instructions here - Copy the sample inventory directory and update the appropriate fields in the
inventory.yaml
to describe the desired topology
cp -R ansible/inventory/sample ansible/inventory/my-cluster
- Install k3s on the turingpi cluster with the
k3s.yml
playbook.
ansible-playbook playbooks/k3s.yml -i inventory/sample/inventory.yaml
Teardown the k3s on the turingpi cluster with the reset-k3s.yml
playbook.
ansible-playbook playbooks/reset-k3s.yml -i inventory/sample/inventory.yaml
The cluster monitoring deployments are adapted from here. Follow the instructions in the README for installation on a K3S cluster.