Start Upgrade
Changed onPull the published image and hand the container recreate to a helper container.
The preflight is re-run here, so a server that became unupgradable since the caller last looked -- an executor started, another upgrade began, the daemon went away -- is refused rather than upgraded on a stale reading.
Args: request: acknowledge_executor_loss, the caller's consent to every running executor being closed as SYSTEM_CLEANUP. Required when any is running.
Returns: 202 with the run id and the initial phase. The API is replaced part-way through, so the result is read back from /system/upgrade/status after it restarts.
Raises: HTTPException: 409 when the upgrade is refused. Nothing was pulled, and nothing on the server was changed.
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/system/upgrade
- AuthHTTP basic
Request body
Response
Successful Response
Changes
- info
endpoint added
- info