What prepare generates¶
prepare writes seven generated artifacts plus two specs. Each artifact has a
key in the generated_files map that prepare reports and apply reads.
What prepare reports¶
Running it names every file it wrote:
{
"status": "prepared",
"operation": "prepare",
"organization_name": "acme",
"dataplane_pool": "edge-eu",
"dp_install": "dp-eu-west1",
"dp_count": 1,
"provider": "gcp",
"spec_file": "install/dp-eu-west1/install.spec.json",
"install_input_spec_file": "install/dp-eu-west1/install.input.yaml",
"output_dir": "install/dp-eu-west1",
"generated_files": {
"terraform_main": "install/dp-eu-west1/terraform/main.tf",
"serviceaccounts_manifest": "install/dp-eu-west1/k8s/serviceaccounts.yaml",
"project_runtime_authority_manifest": "install/dp-eu-west1/k8s/project-runtime-authority.yaml",
"spire_workload_identity_manifest": "install/dp-eu-west1/k8s/spire-workload-identity.yaml",
"fabric_manifest": "install/dp-eu-west1/k8s/managed-private-fabric.yaml",
"runtime_manifest": "install/dp-eu-west1/k8s/dataplane.runtime.yaml",
"dataplane_bootstrap_manifest": "install/dp-eu-west1/xratu/dataplane.bootstrap.yaml"
},
"written_file_count": 9
}
generated_files is the map apply reads to find each artifact, so the keys
below are not documentation labels but the contract between the two stages.
The seven artifacts¶
| Key | Path | What it is |
|---|---|---|
terraform_main |
terraform/main.tf |
The cloud resource layer: identities, IAM, registry and bucket access |
serviceaccounts_manifest |
k8s/serviceaccounts.yaml |
The runtime and build Kubernetes service accounts, annotated for the provider |
spire_workload_identity_manifest |
k8s/spire-workload-identity.yaml |
SPIRE registration entries for the node's workload identity |
project_runtime_authority_manifest |
k8s/project-runtime-authority.yaml |
What the node is permitted to do in the approved project runtime namespaces |
fabric_manifest |
k8s/managed-private-fabric.yaml |
The managed private fabric on the node |
runtime_manifest |
k8s/dataplane.runtime.yaml |
The xratud workload itself |
dataplane_bootstrap_manifest |
xratu/dataplane.bootstrap.yaml |
The data plane bootstrap contract document |
The two specs¶
| File | What it is |
|---|---|
install.spec.json |
The bundle document: every resolved value, the generated file map, and the adapter output. This is what apply reads. |
install.input.yaml |
The install spec in the authorable form, holding the inputs rather than the resolved bundle |
install.spec.json is the machine-facing record of the prepared installation.
install.input.yaml is the round-trippable input, which is what you edit and
pass back with --install-spec when you want the same installation prepared
again from a file rather than from flags. See
Two ways to drive install.
Where they land¶
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.
The root is install by default and moves with --output-dir. Nine files are
written, which is what written_file_count reports.
What is derived rather than asked for¶
The contract keeps one canonical install identity, dp_install, and derives the
rest from it:
| Derived | From |
|---|---|
| Namespace default | dp_install, overridable |
| StatefulSet, Service, Secret and RBAC names | dp_install |
| Node labels | <statefulset-name>-<ordinal> |
| The invitation token set | Bound to those exact node labels |
That derivation is what lets several installations share a namespace without colliding, and what ties each minted invitation to the pod that will read it.
No install flags exist for kernel ports, kernel features, transport, fabric peers, project namespace routing, or model binding route policy. Those are architecture-fixed and rendered from the contract.
Next¶
terraform_mainfor the cloud layer.- The Kubernetes manifests for the five cluster artifacts.
- The install bundle for the directory as a whole.