This project provisions a single-node Kubernetes cluster on NixOS using:
- 🛠️ Terraform — to manage virtual machines on Libvirt
- 🐧 NixOS — declarative configuration for VM images
- 🌱 Colmena — to deploy and manage Kubernetes configuration
- 🐳 Libvirt/QEMU — local VM virtualization
- Nix
- Terraform ≥ 1.0
- Libvirt (with
default
pool active) - QEMU/KVM
- SSH configured with
~/.ssh/id_ed25519.pub
or~/.ssh/id_rsa.pub
nix-shell
make-boot-image
terraform init
terraform apply
Ensure you can SSH into the VM via the configured key, then:
colmena apply
terraform destroy
To remove the VM and associated resources.