v1

latestOpenAPI 3.1.02026-08-04401.1 KB

Trigger Drain

preStop drain trigger: requires the shared DRAIN_TOKEN and a loopback peer; idempotent. 404 on any failure (it takes the pod out of rotation, so we don't confirm the endpoint to unauthorized callers).

post/internal/drain

Response

Successful Response

{"stackTrail":"paths:/internal/drain:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}