The CAPTF book is online¶
The documentation for Cluster API Provider Terraform now has a home of its own at captf.io/docs. It covers what CAPTF is and how it works, how to run clusters with it, how to write a module for it, and how to operate the manager, in about 160 pages organized by who is reading and what they are trying to do.
This post was expanded on October 6, 2026, to describe the book as it stands now, including the pages added since launch.
Organized by reader¶
The book is split into tabs, one for each kind of reader, rather than one long table of contents. Start with the tab that matches what you came to do:
-
Overview
What CAPTF is, the Quick Start with the no-op modules and no cloud account, the architecture, and the pages to read before you adopt it: the security model, known limitations and compatibility.
-
User Guide
Running clusters: identities and credentials, module variables, ClusterClass templates, machine pools, drift and health, plan approval and deleting clusters.
-
Cloud Modules
The reference modules for AWS, Google Cloud, Azure, OCI and OpenStack, plus a no-op set: what each role creates, its variables and outputs, and the behavior they share.
-
Module Authors
Writing your own: your first module, the
v1alpha1contract, base images,tfcapi-lint, testing, releasing, and integration with the kubeadm and RKE2 control planes. -
Operations
Running the manager: installation and configuration, RBAC and multi-tenancy, production readiness, observability, backup and disaster recovery.
-
Troubleshooting
Runbooks by symptom, from failing Jobs to stale locks and stuck destroys, and a lookup of every condition with its likely cause and fix.
-
How It Works
The controller’s side of things: one reconcile pass, Terraform state and the Secrets that hold it, and how Jobs are scheduled, retried and leased.
-
Reference
Every custom resource field, condition, event, alert, metric and manager flag, the
tfcapi-lintchecks, and a map of the repositories and images. -
Contributing
Building and testing CAPTF itself, working across the repositories, cutting a release, and changing these docs.
Added since launch¶
The book has grown with the project. Pages added since it went online:
| Page | What it covers |
|---|---|
| Base Images | The OpenTofu and Terraform base images every module image builds from: tags, pinning, updates, signatures |
| Building on Existing State | Clusters on infrastructure and state you already have, exports, and add-on roots that run afterwards |
| Repository Layout and Repositories | One module per repository, how module-images builds them, and a map of the whole organization |
| Testing and Releasing a module | From format checks to end-to-end on kind, and from a signed tag to the Terraform Registry |
| tfcapi-lint in CI | The GitHub Action and container image, pinning, private registries, troubleshooting |
| Terraform vs OpenTofu Storage | Why Terraform state can grow past 1 MiB and OpenTofu state cannot |
| The Cluster Autoscaler on pools | Which of its providers can drive a CAPTF pool, and how to set it up |
Kept honest against the code¶
Documentation drifts the moment nobody checks it, so the book is checked:
- The reference is checked against the provider’s source. The reference pages are written by hand, and two scripts that every edit to them runs read the provider repository and fail on any condition, event, alert, metric, flag, annotation or custom resource field it defines that the pages do not mention.
- Every link and anchor resolves. The site builds in strict mode, so a broken link or a heading anchor that no longer exists fails the build.
- Old links still work. The book started life as an mdBook; every one of its old
.htmlURLs redirects to the page that replaced it, fragment included.
Made for tools as well as people¶
- For LLMs:
/llms.txtindexes every page with its one-line description,/llms-full.txtholds the whole book, and every page has a Markdown copy. The copy button at the top of a page puts that Markdown on your clipboard. - For feed readers: this blog is at
/feed_rss_created.xmland/feed_json_created.json. - For skimmers: acronyms such as CAPI and KCP explain themselves on hover, wide diagrams open full size, and search highlights its matches on the page it opens.
Status¶
Every kind and the module contract are v1alpha1 and pre-release: the contract is frozen for implementation but may still change. Two end-to-end suites run on a local kind cluster, one of them driving the no-op modules through real Cluster API objects, but they are opt-in and not yet part of CI, and nothing has been applied to a real cloud. The Known Limitations page lists everything CAPTF does not do.
Update, 2026-10-06: v0.1.0 and v0.1.1 have since been released; see CAPTF v0.1 is released.
Help improve it¶
Every page has an edit button that opens its source on GitHub, in captf-io/captf-io.github.io. make serve previews the site locally with live reload, and Contributing to the docs walks through a change from edit to pull request.