Deployment prerequisites¶
Some prerequisites are things you must have before you start, and some are things Xratu itself must contain before the next step will succeed. Both kinds matter on day 0, and mixing them up is what makes a failed step hard to read.
flowchart LR
E["external identity<br/>cluster, registry, bucket, images"] --> CP["reachable control plane"]
CP --> A["resolved actor"]
A --> T["organization + workspace"]
T --> B["tenant bootstrap authority"]
B --> P["data plane pool"]
P --> I["prepared and applied installation"]
I --> N["enrolled, reconciling node"]
Each arrow is a hard prerequisite: the right-hand state must not be attempted until the left-hand state has an operator-visible proof.
This page separates them. The commands that satisfy each one live in the walkthrough pages linked throughout.
What you must have before you start¶
Each item below has a check. Run them together first, and read the sections only for the ones that fail.
python3 --version
kubectl version --client
jq --version
xratu config view >/dev/null && echo "cli ok"
kubectl cluster-info
kubectl auth can-i create deployment --namespace xratu-cp
kubectl auth can-i create statefulset --namespace xratu-dp
Kubernetes access to the target cluster. You need to be able to apply the control-plane manifests into a namespace you choose, and later to run an installation against the cluster your nodes will live in. These can be the same cluster or different ones.
kubectl and jq on your path. Both are used directly during day-0
verification.
The CLI. One pip install, which carries the SDK and the shared protocol and contract layers with it. See Install the CLI and its dependencies.
The platform images reachable from your cluster. Control plane, data plane and kernel are published for you to pull. A cluster with egress needs no action beyond pinning the tags it will deploy; a restricted or disconnected network mirrors them into a registry it can reach. See The image set.
A container registry you control, reachable from the cluster. This holds the tenant artifacts your projects publish, and the mirrored platform images if you mirror. See Registry placement.
An object storage bucket you control. Artifact bytes and observability payload bodies are written here by your nodes. The scheme is fixed per cloud, and an installation is rejected if the path does not match the provider. See Storage boundaries.
A cloud provider context, if you are installing on a cloud. The install
contract supports gcp, aws and azure, and each has its own required
configuration that is validated fail-closed before anything is rendered. GCP
needs a project and a region. AWS needs an account, a region and the cluster
OIDC issuer and provider ARN. Azure needs a subscription, a tenant, a location,
a resource group, the AKS OIDC issuer and the registry scope. See
Provider configuration.
An external identity you are already authenticated with. Xratu does not authenticate you with your identity provider. You obtain a token from your provider yourself, in the same terminal or environment, and exchange it for an Xratu token. If you intend to use a custom enterprise OIDC provider, be aware that it is supported but is not zero-configuration on day 0. See External identity exchange and Custom enterprise OIDC.
What must exist inside Xratu, in order¶
| # | What must exist | Created by | Verified by |
|---|---|---|---|
| 1 | A reachable control plane | kubectl apply of the rendered manifests |
curl .../v1/system/health/readiness |
| 2 | A resolved actor | xratu auth exchange |
xratu auth whoami |
| 3 | An organisation and workspace | xratu create organization, xratu create workspace |
xratu config view |
| 4 | Tenant bootstrap authority | xratu bootstrap reconcile |
The pool create in step 5 succeeds |
| 5 | A data plane pool | xratu dataplane pool create |
xratu dataplane pool list |
| 6 | An installation | xratu dataplane install prepare and apply |
xratu get dataplanes |
Each of these is created through the control plane, and each is a prerequisite for the one after it.
1. A deployed control plane, reachable from your CLI. Everything else is created through its API. Note that its storage backend, profile and identity are latched on first start, so this is the step to get right before proceeding rather than after. See Deploy the control plane and Finalization invariants and fail-closed startup.
2. A resolved actor. After exchanging your external identity, your resolved identity must no longer be the system actor. Until it is a real actor, tenancy creation and role binding have nothing to attribute. See Actors.
3. An organisation and a workspace. The actor that creates an organisation is bound as its owner automatically, and the same applies to a workspace. No data plane can exist before tenancy does, because enrolment is scoped to an organisation. See Tenancy before nodes and The owner role.
4. Tenant-scoped bootstrap authority. Reconciling bootstrap authority for your organisation materialises the enrollment governance a node will be validated against. It is run after identity exchange and tenancy creation, using your tenant-scoped actor context. See Bootstrap reconcile.
5. A data plane pool. Pool lifecycle is explicit. The pool is created once, before an installation or a manually minted invitation refers to it. See Pool lifecycle.
6. An installation. With the above in place, an installation can be prepared and applied, which is also what mints and injects the enrollment tokens its nodes need. See The install contract.
Why the order is fixed¶
The ordering follows from how identity works.
A node proves it belongs by presenting an invitation that is scoped to an organisation and a pool. That invitation cannot be minted before the organisation and the pool exist, and the organisation cannot be created before an authenticated actor exists to own it. Equally, the actor cannot be resolved before there is a control plane to resolve it.
Anything that skips a step fails at the point of the missing prerequisite rather than at the end, which is the behaviour you want: a node that cannot prove its scope never registers, instead of registering into nothing.
What you can defer¶
A data plane. Everything in the list above from steps 2 to 5, and the rendering half of step 6, runs against the control plane alone. See Control-plane-only operations.
A public endpoint. A port-forward is the recommended default for a self-hosted control plane, and nodes work over outbound reachability.
The topology choice, until you install nodes. It is required by then, because the topology determines provider configuration, identity mode and resolver behaviour. See Deployment topologies.
The install contract renders every data plane manifest. The template is an input to that contract rather than an operator file. See The install contract.
Once these are in place, Check prerequisites and choose a topology walks the verification, and Self-hosted deployment or Hosted deployment sets out the whole path.