Skip to content

The install bundle

The bundle is the directory prepare writes. It holds everything needed to apply one installation, and it is the unit you keep, review, and re-apply.

install/
  dp-eu-west1/
    install.spec.json
    install.input.yaml
    terraform/
      main.tf
    k8s/
      serviceaccounts.yaml
      spire-workload-identity.yaml
      project-runtime-authority.yaml
      managed-private-fabric.yaml
      dataplane.runtime.yaml
    xratu/
      dataplane.bootstrap.yaml

The bundle nests under dp_install, so one output root can hold several installations without them overwriting each other.

Nine files. The root defaults to install and moves with --output-dir.

The two specs

File Role Read by
install.spec.json The bundle document: resolved values, the generated file map, the adapter output apply, to find every path and setting
install.input.yaml The authorable inputs for this installation You, and prepare when passed with --install-spec

install.spec.json is the record of a prepared installation. install.input.yaml is the round trip: edit it and re-prepare, and you get the same installation with your changes.

Here is a real one, prepared for dp-eu-west1 on GCP:

contract_version: dataplane.install.spec.v1
organization_name: acme
dataplane_pool: edge-eu
dp_install: dp-eu-west1
dp_count: 1
provider: gcp
transfer_credential_mode: asptc
namespace: dp-eu-west1
workload:
  kind: statefulset
control_plane:
  base_url: http://xratu-control-plane.xratu.svc:8080
  trust_bundle_ref: ''
artifact_registry:
  path: <region>-docker.pkg.dev/<gcp-project-id>/<repository>
artifact_bucket:
  path: gcs://acme-xratu-artifacts/dataplane
runtime:
  service_account: ''
  image: <region>-docker.pkg.dev/<gcp-project-id>/<repository>/xratu-data-plane:latest
  cloud_identity_name: ''
build:
  namespace: ''
  service_account: ''
  cloud_identity_name: ''
scheduler_authority:
  project_runtime_namespaces: []
  model_runtime_namespaces: []
  build_namespaces: []
provider_config:
  project_id: <gcp-project-id>
  region: <region>
  account_id: ''
  cluster_oidc_issuer: ''
  ...
output_dir: install/dp-eu-west1
bundle_spec_file: install/dp-eu-west1/install.spec.json

The provider_config block carries every provider's fields, with the ones your provider does not use left empty. An empty value elsewhere means the contract derived it: namespace shows dp-eu-west1 because it was derived from dp_install, while runtime.service_account is blank in the input and resolved at render time.

scheduler_authority is where you list the namespaces this node may host project runtimes, model runtimes and builds in. Left empty, the node reports no approved project runtime namespace and is rejected as a placement candidate, which is the most common reason a healthy node is never selected. See Pools, tenant scope, and placement and Two ways to drive install.

One bundle per installation

A bundle belongs to one dp_install on one cloud. apply refuses a bundle whose organization, pool or dp_install differ from the arguments you passed, so bundles and installations stay one to one.

A deployment with several installations keeps a directory each:

xratu dataplane install prepare acme edge-eu  dp-eu-west1 --output-dir install-eu
xratu dataplane install prepare acme edge-us  dp-us-east1 --output-dir install-us

Separate directories keep each Terraform state and each manifest set to its own installation. See Bundle isolation.

What to keep

The bundle is worth committing to version control alongside your other infrastructure. It records the exact cloud resources and cluster objects an installation consists of, and it is what you re-apply to converge a node that has drifted.

Two cautions for what you commit:

The enrollment secret is not in the bundle. Invitations are minted at apply time and injected directly, so the bundle carries no live credential.

Terraform state is not in the bundle. State lands where your Terraform configuration puts it, and that is yours to arrange.

Re-applying

apply is re-runnable against an unchanged bundle. Terraform converges, the manifests apply idempotently, pool validation repeats, and the workload scales to dp_count.

The one step that is not a no-op is enrollment: each apply mints fresh invitations for the node labels. A node that is already enrolled continues on its durable identity and its existing enrollment. See Re-enrollment and idempotency.