I run K3s on virtual machines.
Why virtual machines?
Virtual makes it easier to redeploy or to bring a system down and up if your want to test something.
Another reason is that I also run FreeBSD virtual machines on the Raspberry Pis.
The code can also - and will by default - be used on x86 systems.
The playbook is a wrapper around the roles:
To set up the virtual machines.
To install and configure K3s on the virtual machines.
To enable libvirt on the
The sample inventory will install the virtual machines on localhost. It’s possible to install the virtual machine on multiple lbvirt/KVM hypervisors.
This should enable you setup the virtual machine with k3s in … 5 minutes
(*) if everything goes well the first time :-)