Workload Placement

Recommend node pinning for an environment (internal, operator-only)

Changed on

An ADR-055 migration control for operators and the CLI; the console does not show it. Environments default to legacy and need no change here.

get/internal/environments/{environment_id}/placement/recommendation

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

environment_idinteger required

Environment ID

Query parameters

window_daysinteger nullable

History window in days (1-90, default 7).

Response

changes_placementboolean required
current_nodesinteger[] required
environment_idinteger required
moved_between_nodesboolean required

Unpinned and moved between nodes: show the recommendation.

nodes_usedinteger[] required

Distinct nodes the environment ran on in the window.

reasonsstring[] required
recommended_nodesinteger[] required

The recommended target_nodes. Recommended, never applied.

window_daysinteger required

Changes

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    2 more changes in this revision