chaos
cordon and drain the server (preemption simulation)
Simulates a connection-lifecycle preemption (e.g. a Kubernetes node drain or spot reclamation). While cordoned, new exchanges are signalled to back off — by a 503 + Connection: close, an HTTP/2 GOAWAY frame, or both — while in-flight requests are allowed to drain. The simulation is server-scoped and does not stop the JVM. An empty body uses defaults (mode "both", drainMillis from stopDrainMillis, no TTL). drainMillis and ttlMillis are clamped to preemptionSimulationMaxDrainMillis.
put/mockserver/preemption
Request
- Base URL: http://localhost:1080
- URL: http://localhost:1080/mockserver/preemption
- Auth: none declared
Request body
Response
preemption simulation started or replaced
Changes
No recorded changes to this operation across all 1 revision of this API.