Skip to content

Node labels

A node label is the operator-visible name for a node, usually the StatefulSet pod name. It is metadata: useful for mapping invitation files and for reading logs, and deliberately outside the identity set.

What it is used for

Mapping invitations to nodes. An installation mints one invitation per node label, so the label is how a code reaches the right pod.

Operational reading. The label is what appears when you inspect an enrollment or read a node's logs, because dp-8f21c6d40b9e4a57 identifies a node precisely and tells an operator nothing.

What decides identity instead

The canonical identity is dataplane_uuid, derived from the installation identity the node persists. The label travels alongside it in the enrollment's metadata. See The enrollment identity set.

The distinction matters when they disagree. A pod that keeps its name across a rebuild is a new installation and gets a new dataplane_uuid; a pod that comes back with the same installation identity under a different name is the same node.

The continuity rules

Although a label is metadata, it is not free-form at exchange time. Two rules keep labels usable as an operator handle.

A label cannot change while an enrollment is active. If the installation already has an active enrollment carrying a different label:

409 DATAPLANE_ENROLLMENT_NODE_LABEL_CONFLICT
node_label cannot be changed during active reenroll; retire/re-enroll to replace

A label cannot be claimed from another live installation. Within one organization and pool, if the label is already bound to a different active installation:

409 DATAPLANE_ENROLLMENT_NODE_LABEL_CONFLICT
node_label is already bound to another active dataplane installation

Both rules are scoped to active enrollments in the same organization and pool. The same label in a different pool, or reused after the previous holder is retired, is admitted.

flowchart TB
  E["Exchange presents a node label"] --> Q1{"This installation<br/>already active?"}
  Q1 -->|yes| Q2{"Same label<br/>as before?"}
  Q2 -->|yes| OK1["Admitted"]
  Q2 -->|no| C1["Conflict:<br/>cannot change during active reenroll"]
  Q1 -->|no| Q3{"Label held by another<br/>active installation<br/>in this pool?"}
  Q3 -->|yes| C2["Conflict:<br/>already bound"]
  Q3 -->|no| OK2["Admitted"]

Choosing labels

Because the label is the handle you will use to find a node, give it the name the platform already knows it by. A StatefulSet supplies stable ordinal pod names, which is why the install contract uses them.

Reusing a label after retiring its previous holder is supported, so a rebuilt node keeps the name an operator recognises while receiving a fresh identity underneath.

Next