27 lines
882 B
YAML
27 lines
882 B
YAML
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
|