Skip to content

The install contract

Read this before running anything. You express an installation in flags, and one contract renders a bundle of nine files covering both a cloud layer and a cluster layer, then applies them in a fixed order that ends with an enrolled, scaled node.

xratu dataplane install up acme edge-eu dp-eu-west1 \
  --provider gcp \
  --dp-count 2 \
  --artifact-registry <region>-docker.pkg.dev/<gcp-project-id>/<repository> \
  --artifact-bucket gcs://<bucket>/<prefix> \
  --project-id <gcp-project-id> \
  --region <region>

prepare and apply are the same path split in two, for when you want to read the generated Terraform before it runs.

In this section

The three things to settle early

Requirements go in the flags. The bundle they render is ready to apply, and up runs the whole path. Reaching into a rendered file is the fallback for what the flags do not carry, and a re-prepare rewrites all nine files.

One bundle is one installation. apply refuses a bundle whose organization, pool or dp_install differ from the arguments you passed. A deployment spanning clouds is several installations with several bundles.

Three things must exist first. The organization, its reconciled enrollment governance, and the pool. All three install commands validate the pool before proceeding.

Next

Deploying a data plane runs the contract end to end, with provider flags and with an install spec.