Skip to content

docs(workload-requirements): preStop sleep sizes the drain window; ≥10s for zero-loss rolls - #153

Merged
bpalermo merged 1 commit into
mainfrom
docs/workload-prestop-guidance
Jun 12, 2026
Merged

bpalermo merged 1 commit into
mainfrom
docs/workload-prestop-guidance

Conversation

@bpalermo

Copy link
Copy Markdown
Owner

Follow-up to #152 with the validated numbers (2026-06-12, full load):

preStop drain window roll cost
sleep 10 9s 0 failed requests
sleep 3 (supported minimum) 2s ~1 blip per pod (in-flight at window end)
  • Example manifest and guidance bumped to sleep 10; explains that the sleep sizes the in-flight window (sleep − 1s, capped 2s short of the grace hard-kill) under the two-phase drain.
  • Termination sequence updated with drain phase 2 (pools close while idle, 1s before SIGTERM).

🤖 Generated with Claude Code

… 10s for zero-loss rolls

The two-phase drain (#152) scales the in-flight completion window with
the workload's sleep preStop (window = sleep - 1s, capped 2s short of
the termination grace). Update the guidance and example manifest from
sleep 3 to sleep 10, with the measured results: sleep 10 -> 0 failed
requests per roll under full load; sleep 3 (supported minimum) -> ~1
blip per pod. Document drain phase 2 in the termination sequence.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@bpalermo
bpalermo merged commit d5e86cb into main Jun 12, 2026
9 checks passed
@bpalermo
bpalermo deleted the docs/workload-prestop-guidance branch June 12, 2026 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant