Deploying a data plane¶
A data plane is one installation, named by dp_install, running dp_count
nodes in one pool of one organization. The install contract renders its bundle;
this section covers what you decide and how to run it.
xratu dataplane install prepare 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>
xratu dataplane install apply acme edge-eu dp-eu-west1
In this section¶
- Rendered manifests covers why the spec is the authoring surface and the manifests are rendered from it.
- Two ways to drive install covers flags and the install spec, and what the spec reaches that flags do not.
dp_installcovers the installation identity and every name derived from it.dp_countcovers what it scales and what bounds it.- StatefulSet requirement covers the three things a node depends on that fix the workload kind.
- Provider configuration covers the required field set per provider and the Azure placeholder edit.
- Registry and bucket schemes covers the path shapes and the provider pairing rule.
- Durable runtime state covers the volume, its retention policy, and what lives on it.
- Minted and injected material covers the invitation secret and the init container that consumes it.
Walkthrough¶
- Deploy a data plane with provider flags
prepares, reviews the bundle, applies, and shows
upas the single-step form. - Deploy a data plane from an install spec
authors
install.input.yaml, edits it, and prepares and applies from it. - Scale and verify an installation sets
dp_countand reads the enrollment sequence through. - Diagnosing a node that will not enroll works the six stages in order.
The three things to settle early¶
dp_install names everything. Namespace, StatefulSet, Service, enrollment
secret and node labels all derive from it, and it is fixed for the life of the
installation.
Set scheduler_authority in the spec. A node with no approved project
runtime namespace enrols cleanly, runs healthily, and is never selected for
placement.
The volume is the node. Identity lives at /var/lib/xratu/identity on a
retained claim. Keeping it makes a restart a continuation; deleting it makes the
node a replacement.