Skip to content

Scheduling versus identity

The pool name appears in two systems that read it for different reasons. The design states the separation directly: the pool exists so that onboarding and placement policy can target a pool without collapsing identity and scheduling into one field.

flowchart TB
  P["Pool name<br/>acme / edge-eu"]
  P --> I["Identity lane"]
  P --> S["Scheduling lane"]
  I --> I1["Invitation scope"]
  I1 --> I2["Enrollment record"]
  I2 --> I3["Runtime credential"]
  I3 --> I4["Verified on every registration"]
  S --> S1["Scheduler capability key"]
  S1 --> S2["Eligibility by health and capacity"]
  S2 --> S3["Ordering by pool name"]

The identity lane

Here the pool is part of who a node is. It is fixed when the node enrols and verified on every subsequent claim.

Stage The pool's role
Invitation mint The pool must exist; the invitation is scoped to it
Enrollment exchange The pool is written into the enrollment's metadata
Runtime credential The pool is issued into the credential
Runtime registration The credential's pool and the reported pool must both equal the enrollment's
Dispatch, shared profile The enrollment's pool selects which workspaces are addressable

The checks compare stored values with presented values, so nothing a node says about itself can move it between pools.

A node's pool changes by re-enrolling. The pool is bound at enrollment and carried in the credential, so moving a node to a different pool means a new invitation minted for the target pool and a fresh enrollment. See Invitations and enrollment.

The scheduling lane

Here the pool is a label on a capability report. It carries no authority; it groups and it orders.

Input Where it comes from What it decides
tenant_scope The workspace's organization The candidate set
health_state, drift_status Heartbeat projection Eligibility
approved_project_runtime_namespaces Capability record Eligibility
capacity Heartbeat projection Reported load and free ratio
dataplane_pool The node's enrollment Sort order, primary key
dataplane_node_id The node Sort order, tiebreaker

The scheduler reads the pool name that the identity lane established. It never writes one.

Why the author cannot pick a pool

Placement is resolved by the control plane, and a deploy spec that tries to set it is rejected before anything is scheduled:

RAW_PLACEMENT_KEYS = (
    "namespace",
    "endpoint",
    "deployment_ref",
    "service_ref",
    "dataplane_pool",
    "region",
    "cluster",
    "kernel_placement",
)

Any of those keys, at the top level of the spec or under runtime or deployment, fails the deploy:

project deploy cannot set runtime.dataplane_pool; placement is scheduled by control plane

The eight keys are a closed set, checked in three places each. An author declares what to run; where it runs is resolved from the capabilities that actually exist and are healthy at that moment.

What each lane owns

Identity lane Scheduling lane
Sets the pool Invitation mint, by the operator Reads it
Enforces on Every registration and dispatch Deploy-time placement
Failure mode 403 scope mismatch project placement rejected: ...
Changes by Re-enrolling the node Capability health and capacity changing
Operator control Which pool a node joins Which pools exist, and how they sort

The operator controls both ends: which pool a node joins, and which pools exist for the scheduler to order. What stays separated is the decision in the middle, so a placement result never grants a node authority and a node's credentials never pin a workload to it.

Reading a failure

The lane tells you which system refused.

A 403 naming scope mismatch or a 409 naming identity reuse comes from the identity lane. The node's credential or enrollment disagrees with what it presented, and the fix is on the enrollment side.

A message beginning project placement rejected comes from the scheduling lane. Capabilities in the organization were ineligible or absent, and the fix is node health, capacity or namespace approval.

See Pools, tenant scope, and placement for the full eligibility and ordering rules.