Enrollment and node identity¶
How a node becomes itself and stays itself: the files enrollment leaves on its
volume, the checks xratud makes against them on every start, and the
short-lived credential it renews while it runs. These pages are the node side of
enrollment; the control plane's side and the operator procedure are in
Invitations and enrollment.
Node identity¶
flowchart TB
subgraph VOL["/var/lib/xratu, the node's volume"]
direction TB
SEED[("Seed<br/>identity set, credential,<br/>discovery pin")]
IDS[("Identity state<br/>continuity record")]
end
subgraph XD["XRATUD, on every start"]
direction TB
CONT{{"Continuity check"}}
DISC{{"Discovery validation"}}
CRED["Runtime credential<br/>renewed while running"]
CONT --> DISC --> CRED
end
CP["Control plane"]
INIT["Init container<br/>exchange, once"]
INIT --> SEED
INIT --> IDS
SEED --> CONT
IDS --> CONT
DISC <-->|"pin compared"| CP
CRED <-->|"renew, proof per request"| CP
Enrollment writes the volume once, and everything after that is xratud
checking the volume against itself and against the control plane. A node that
passes both checks registers under a credential that names its process, and
keeps renewing it for as long as it runs.
In this section¶
- Enrollment runtime and identity state covers the init container's two paths, the seed's required fields, and the continuity check.
- Installation, instance, and enrollment identity covers what each of the four identities keys on the node.
- Durable identity on
/var/lib/xratucovers the volume layout, atomic writes, and what a damaged file does. - Re-enrollment idempotency covers the node layer that skips the exchange and the control-plane layer that reuses identity.
- Runtime identity refresh covers the renewal window, proof of possession, and the three freshness states.
- Bootstrap identity reference validation covers the discovery comparison at every start and its three refusals.
- Private fabric covers how a route's identity comes from
enrollment and the order a route earns
route_ready.