Skip to main content

Stakkr

Stakkr is an Ansible-driven KVM lab scaffold for local OpenShift bring-up, supporting RHEL guests, and host resource policy experiments on one libvirt host.

License: GPL-3.0OpenShift 4.20KVM and libvirtAnsible drivenRHEL 10

Quick Start

./scripts/host-resource-management.sh host-resource-management-apply
./scripts/host-resource-management.sh host-memory-oversubscription-apply
./scripts/host-resource-management.sh host-resource-management-status
./scripts/host-resource-management.sh host-memory-oversubscription-status

Start with Prerequisites before running deploy playbooks. The quick-start commands assume local inventory, secrets, DNS, images, and OpenShift inputs are already in place.

Install And Setup

Stakkr is run from the repository checkout with Ansible and local libvirt tooling. There is no separate binary to install.

git clone https://github.com/turbra/stakkr.git
cd stakkr
ansible-galaxy collection install -r requirements.yml
ansible-inventory -i inventory/hosts.yml --graph

Explore

Main Paths

TaskStart here
Deploy local OpenShift SNOFirst SNO Deploy
Deploy local OpenShift compactCompact OpenShift Cluster Scaffold
Apply live VM contention policyShared Execution Pool With Weighted Performance Domains
Bootstrap generic RHEL 10 guestsGeneric RHEL 10 VM Bootstrap
Bootstrap local IdMLocal IdM Bootstrap
Inspect host policy in CockpitFirst Observer Check

Stakkr borrows ideas from Calabi, but targets local consumer hardware rather than AWS.