Workload Placement

Change an environment's workload mode (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.

put/internal/environments/{environment_id}/workload-mode

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

Request body

workload_mode'legacy' | 'shadow' | 'enforce' required

legacy (today's deploy path), shadow (legacy, plus a logged unified-scheduler comparison) or enforce (control-plane replicas run through the workload plane). legacy is the rollback.

Response

environment_idinteger required
workload_mode'legacy' | 'shadow' | 'enforce' 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