clean sheet quick and dirty k8s and virt lab on some performant SBCs
This repo is meant to be the ansible project directory.. or close to it plus documentation.. Trying to leverage off-the-shelf roles when possible. Other roles will via the lanefu armlab collection
there are better ways, but this way for now... .gitignore
has been preconfigured to use namedspace ansible home .ansible/
and venv
used in the example.
assume you have python3 and python3-venv installed
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt
ansible-galaxy install -r requirements.yml
ansible-galaxy install -r requirements-armlab.yml
Installs qemu, libvirt, and cockpit for deploying virtual machines
Provision a pool of VMs on the VM hosts intended to be used later as k8s control plane and worker nodes
ansible-playbook playbooks/provision_k8s_nodes.yml -e @vars/local.yml
Destroy the VMs Above
Bootstrap a k3s cluster
playbook to deploy a single VM