Prerequisites
Required tools and system requirements
Required Tools
| Tool | Version | Installation |
|---|---|---|
| VirtualBox | 7.0+ | Download |
| Vagrant | 2.4+ | Download |
| kubectl | 1.37+ | Install Guide |
| Go | 1.27+ | Download. vagrant up builds the Linux binary from source |
| make | any | Preinstalled on macOS/Linux; on Windows use WSL or Git Bash |
| kubelogin | latest | Only for kubectl login through Keycloak (OIDC) |
Installation by OS
macOS (Homebrew)
brew install --cask virtualbox vagrant
brew install kubectl int128/kubelogin/kubelogin
Install Go with the package from go.dev/dl (or brew install go).
Ubuntu/Debian
# VirtualBox
sudo apt install virtualbox
# Vagrant
wget https://releases.hashicorp.com/vagrant/2.4.3/vagrant_2.4.3-1_amd64.deb
sudo dpkg -i vagrant_2.4.3-1_amd64.deb
# kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install kubectl /usr/local/bin/
# Go: download the tarball from https://go.dev/dl/ and follow the install steps there
Windows
Use Chocolatey:
choco install virtualbox vagrant kubernetes-cli golang
System Requirements
| Resource | Used by the VMs | Recommended host |
|---|---|---|
| RAM | 20 GB | 32 GB |
| CPU | 9 vCPUs | 12 cores |
| Disk | 70 GB | 100 GB free |
VM Resource Allocation (default)
From vagrant/settings.yaml:
| VM | Memory | CPUs | Disk | Purpose |
|---|---|---|---|---|
| Storage | 2 GB | 1 | 10 GB | NFS server, HashiCorp Vault, lab DNS (CoreDNS + etcd) |
| ControlPlane | 6 GB | 4 | 20 GB | Kubernetes control plane |
| Node01 | 8 GB | 2 | 20 GB | Worker (+ Ollama, when Karpor AI is enabled) |
| Node02 | 4 GB | 2 | 20 GB | Worker |
| Total | 20 GB | 9 | 70 GB |
Karpor and Ollama are disabled by default. Node01 keeps 8 GB so you can enable them later and load the default llama3.2:3b model (~4 GB RAM). If you will not use them, you can lower Node01 to 4 GB in vagrant/settings.yaml.