feat(labs): describe the lab task contract and the provisioner port
This commit is contained in:
1 parent
3de226b16c
commit
9fdaa62b9b
91 files changed
+19262
-155
No files matched your search
@@ -0,0 +1,26 @@
|
||||
get:
|
||||
operationId: GetLabdReadyz
|
||||
summary: Check whether the provisioner can create and delete labs.
|
||||
description: >-
|
||||
Ready means that the lab records were loaded, the startup reconciliation
|
||||
with LXD finished, the LXD API answered the latest probe, and the process
|
||||
is not draining. A provisioner without free capacity is still ready;
|
||||
capacity is reported by CreateLab.
|
||||
security: []
|
||||
tags:
|
||||
- health
|
||||
responses:
|
||||
"200":
|
||||
description: The provisioner is ready.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../components/schemas.yml#/LabdReadinessResponse
|
||||
"503":
|
||||
description: The provisioner is not ready or is draining.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../components/schemas.yml#/LabdReadinessResponse
|
||||
default:
|
||||
$ref: ../components/responses.yml#/Problem
|
||||
Reference in new issue
Block a user