Files
lincodex/api/runner/routes/readyz.yml
T

26 lines
840 B
YAML

get:
operationId: GetRunnerReadyz
summary: Check whether the sandbox is prepared to accept runs.
description: >-
Ready means that the cgroup hierarchy, the work directory, and the sandbox
binary were prepared at startup and the process is not draining. A busy
runner is still ready; busy is reported by SubmitRun.
security: []
tags:
- health
responses:
"200":
description: The sandbox is prepared.
content:
application/json:
schema:
$ref: ../components/schemas.yml#/RunnerReadinessResponse
"503":
description: The sandbox is not prepared or the process is draining.
content:
application/json:
schema:
$ref: ../components/schemas.yml#/RunnerReadinessResponse
default:
$ref: ../components/responses.yml#/Problem