Skip to main content

Configuration Reference

Stakkr separates committed examples, local operator inputs, generated output, and secrets. Treat machine-local files as local state unless a page explicitly says otherwise.

Inventory

PathPurpose
inventory/hosts.ymlActive Ansible inventory. Local to the operator environment.
inventory/hosts.yml.exampleCommitted inventory example. Copy from this when building a new local inventory.

Global Variables

PathPurpose
vars/global/execution_environment.ymlDefines repository-relative generated, tools, and secrets paths.
vars/global/host_resource_management.ymlSource of truth for host reserved CPUs, emulator CPUs, guest-domain CPUs, and Gold/Silver/Bronze performance domains.
vars/global/host_memory_oversubscription.ymlSource of truth for zram, transparent hugepage, KSM, and rollback memory policy.
vars/global/cgroup_tiering.ymlSource of truth for live shared CPU placement, contention weights, managed workers, and clock-tiering experiment values.
vars/global/rhsm.ymlRed Hat subscription inputs wired to local credential variables. Do not put real secrets in committed files.

OpenShift Variables

PathPurpose
vars/cluster/openshift_install_cluster.yml.exampleTrue SNO example. Uses platform_type: none and a single control-plane node.
vars/cluster/openshift_install_cluster.compact.yml.exampleCompact example. Uses bare metal style VIPs and three control-plane nodes.
vars/cluster/openshift_installer_binaries.ymlInstaller and client binary settings.
vars/cluster/openshift_install_artifacts.ymlInstall artifact output settings.
vars/cluster/openshift_agent_media.ymlAgent media settings.
vars/guests/openshift_cluster_vm.yml.exampleTrue SNO VM example, including the validated local SNO resource profile.
vars/guests/openshift_cluster_vm.compact.yml.exampleCompact VM example with three control-plane profiles.

Copy the matching example files to the active local names expected by the playbooks:

cp vars/cluster/openshift_install_cluster.yml.example vars/cluster/openshift_install_cluster.yml
cp vars/guests/openshift_cluster_vm.yml.example vars/guests/openshift_cluster_vm.yml

Use the compact examples when deploying the compact path.

Guest Bootstrap Variables

PathPurpose
vars/guests/rhel10_vms.yml.exampleExample generic RHEL 10 guest definitions.
vars/guests/idm_vm.ymlLocal IdM VM definition used by playbooks/bootstrap/idm-local.yml.

The IdM path currently expects a seeded guest image in qcow2 or raw format, not a RHEL DVD ISO.

Secrets And Local State

The docs and examples reference local-only files such as:

PathPurpose
secrets/pull-secret.txtOpenShift pull secret consumed by install artifact generation.
secrets/id_ed25519Local SSH private key path used by the execution environment defaults.
inventory/group_vars/all/lab_credentials.ymlLocal credentials such as activation keys, passwords, and operator SSH material.
generated/Generated install artifacts, downloaded tools, and runtime output.

Do not commit real secrets, kubeconfigs, pull secrets, private keys, local IP addresses, private hostnames, or machine-specific overrides.

Reference Values

The default host policy currently uses:

SettingValue
Host reserve0-1
Host housekeeping0-1
Emulator CPUs0-1
Guest execution pool2-11
Gold CPUWeight512
Silver CPUWeight333
Bronze CPUWeight167

The memory policy currently uses:

SettingValue
zram devicezram0
zram size16G
zram compressionzstd
THP modemadvise
THP defrag modemadvise
KSM run1
KSM pages to scan1000
KSM sleep milliseconds20