Workload Placement

PUT /internal/nodes/{node_id}/resources

Changed on

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

node_idinteger required

Node ID; 0 is the control plane

Request body

reset_system_reservedboolean

Put system_reserved back to the default, so system_reserved_is_default is true again: the control plane's stored values are cleared (it then follows the default), a worker gets its role's default. Cannot be combined with system_reserved.

resource_policy'best_effort' | 'enforced' nullable

Whether the scheduler counts reservations against a node's capacity.

Response

The node's resources after the change

node_idinteger required

0 is the control plane.

resource_policy'best_effort' | 'enforced' required

Whether the scheduler counts reservations against a node's capacity.

system_reserved_is_defaultboolean required

Whether system_reserved is the default for the node's role. The defaults are ADR-055 §5 estimates, not measurements.

Changes

    • info

      added the new optional request property reset_system_reserved

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    3 more changes in this revision