Ownership split¶
The install contract owns the shape of an installation. You own the environment it runs in and the decisions the contract deliberately leaves open.
What the contract owns¶
| Owned | Consequence |
|---|---|
| The bundle's shape and contents | Nine files, rendered from one spec |
| Install-scoped naming | Namespace default, StatefulSet, Service, Secret and RBAC names, node labels, all derived from dp_install |
| Cloud identity and IAM baseline | Two identities, registry and bucket access, federation per provider |
| Workload identity materialisation | SPIRE entries, service account annotations |
| Project runtime authority | What the node may do in approved namespaces |
| The private fabric | Architecture-fixed as xratu_managed_private_fabric |
| Enrollment | Minting and injecting one invitation per node label |
| Apply ordering | The eleven steps and their sequence |
Naming in particular moved into the contract deliberately: one canonical install
identity, dp_install, with namespace, workload names, node labels and the
invitation set all derived from it, so several installations can share a
namespace without colliding.
What you own¶
| Yours | Where it is expressed |
|---|---|
| The cluster and cloud account | Your infrastructure |
Cluster access and kubectl context |
Your environment |
| Terraform binary and state backend | Your Terraform configuration |
| The registry and the bucket | Named in the install spec, owned by you |
| Provider configuration values | --project-id, --account-id, --subscription-id and the rest |
dp_count |
The node count for this installation |
| Approved runtime namespaces | The install spec |
| Which organization and pool to join | The first two positional arguments |
| Edits to generated files | The bundle on disk |
What is fixed rather than offered¶
Some decisions are architecture-level and carry no install flag: kernel ports,
kernel features, transport, fabric peers, project namespace routing, and model
binding route policy. The workload kind is fixed to statefulset.
These are rendered from the contract rather than configured, which is what keeps the same node shape across clouds and makes the generated bundle predictable.
The control plane's side¶
Three things must exist before an installation, and none of them are the contract's to create:
xratu create organization acme --set-active
xratu bootstrap reconcile acme
xratu dataplane pool create acme edge-eu
| Prerequisite | Created by |
|---|---|
| The organization | xratu create organization |
| Enrollment governance | xratu bootstrap reconcile <organization> |
| The pool | xratu dataplane pool create <organization> <pool> |
prepare, apply and up each validate the pool before proceeding, so a
missing prerequisite surfaces as a named failure rather than a partial install.
Pools are explicit lifecycle resources, and an invitation mint against an
unknown pool fails closed.
Where the boundary shows¶
At the edit. The contract renders; you adjust. See Editing generated files.
At the failure. Terraform and kubectl failures are reported with the
provider's own error, because the contract invokes those tools rather than
replacing them.
At the cloud. Provider adapters translate the install contract into provider Terraform resources. The resources are then yours, in your account, under your state.
Next¶
- Deploying a data plane to run the contract end to end.