You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# RKE2 on AWS (the default — all three variables match defaults)
make all
# K3s on AWS
make all DISTRO=k3s
# RKE2 airgap on AWS
make all ENV=airgap
# Just the cluster (no Rancher)
make infra-up && make cluster
# Just Rancher (cluster already running)
make rancher
# K3s cluster only, no Rancher, no infra provisioning
make cluster DISTRO=k3s
# Check what's running
make status
# Destroy everything
make infra-nuke
# Pass extra Ansible variables
make cluster EXTRA_VARS="kubernetes_version=v1.34.2+rke2r1"
How Variables Determine Paths
The variables control which directories and playbooks are used:
Variable
Path Component
DISTRO + ENV
ansible/$(DISTRO)/$(ENV)/
PROVIDER + ENV
tofu/$(PROVIDER)/modules/cluster_nodes/ (default) or tofu/$(PROVIDER)/modules/$(ENV)/ (airgap)
For example, DISTRO=rke2 ENV=airgap PROVIDER=aws maps to: