Runbook
A provision is unattended for most of its ~45 minutes, but the first ten are worth doing deliberately. This is the sequence.
1. Preflight
Section titled “1. Preflight”aws sso login --profile <your-profile>rackctl checkWith no cluster yet, check runs the pre-spend set: the tools are present, your AWS
identity resolves and matches cloud.accountId, and nothing is left over from a previous
attempt. Don’t proceed until it’s clean — every downstream phase assumes all of it.
2. Review the config
Section titled “2. Review the config”Open your rackctl.yaml and check the three things that hurt
most when wrong:
cloud.accountId— the exact 12-digit account you intend.cloud.region— where everything lands.environment— and, forproduction, thatcluster.endpointPublicAccessisfalse.
3. Plan
Section titled “3. Plan”rackctl plan -c rackctl.yamlRead it. The plan lists every phase and the commands it will run. This is the last checkpoint before real resources exist. If anything looks off — a wrong repo, an unexpected addon — stop and fix the config, not the running provision.
4. Apply
Section titled “4. Apply”rackctl apply -c rackctl.yaml --tui--tui gives a live progress view. Let it run. The long poles are the cluster
phase (EKS control plane creation) and addon convergence (ArgoCD reconciling the
catalog). A short vCPU quota stops apply before it spends anything — see
quotas.
If a phase fails while this run is building the platform, the engine rolls back the completed phases and the failed one in reverse, except in the cases Rollback lists. To stop that and inspect the state instead:
rackctl apply -c rackctl.yaml --no-clean-on-failure5. Verify
Section titled “5. Verify”rackctl checkWith a cluster up, check also asserts the invariants of a provisioned platform — that
it is reachable, and that ArgoCD’s applications are present and syncing. Then spot-check
directly:
kubectl get nodeskubectl -n argocd get applications6. Hand off
Section titled “6. Hand off”Core platform is up and reconciling. Day-2 work moves to the portal (enable it with
controlPlane.portal: true). rackctl stays for lifecycle only.
Ongoing
Section titled “Ongoing”Upgrade
Section titled “Upgrade”rackctl apply -c rackctl.yaml # apply syncs the catalog fork and re-appliesPulls the platform repos and fast-forwards the catalog fork to upstream, skipping any
repo versions pins, then re-applies; ArgoCD reconciles the rest, the operator included.
Tear down
Section titled “Tear down”rackctl destroy -c rackctl.yaml --dry-run # what it would delete; touches nothingrackctl destroy -c rackctl.yaml # reverse teardown (confirms first)Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | Fix |
|---|---|---|
check reports missing tools |
A prerequisite isn’t on PATH |
Install it |
aws identity: cannot resolve AWS identity |
SSO session expired | aws sso login --profile <profile> |
| Preflight stops on account mismatch | cloud.accountId ≠ resolved account |
Fix the id or switch profiles |
apply refuses on the vCPU quota (exit 9) |
EC2 vCPU quota below quotas.vcpu (a fresh account caps at about 32); apply filed the increase or found one open |
Re-run rackctl apply once AWS grants it, or lower quotas.vcpu |
Preflight fails vcpu quota |
The same, with quotas.autoRequest: false |
Run the aws service-quotas command it prints, then re-run once AWS grants it |
| Nodes sit Pending while phases report success | A short vCPU quota, reached past the gate with --skip-preflight |
Check Service Quotas; wait for the increase |
| Agent platform up but models missing | Bedrock family not enabled | Enable it in the Bedrock console for the region |
| Invalid config before any work | A validation rule failed | Read the error — all failures are listed at once |
| Rollback itself fails | Stuck finalizer / dependency in use | Clear the blocker, then re-run or rackctl destroy |
See also
Section titled “See also”- Footguns — the failure modes behind this table.
- The pipeline — what each phase actually does.