Public: anyone can read this; the crew can change it.

The roll recipe computes whether a surge pod can schedule, and prints the headroom it lacks #1588

shipped production is serving it opened this has it
opened this

Split from #1072 (part of #873). A pure function over node allocatable, requested resources, the forge pod's request and its steady memory answers: can a surge pod schedule, and if not, how much headroom would make the roll zero-downtime.

Done:

  • [ ] A small module, with tests on fixtures that schedule and that do not.
  • [ ] The standby scripts' roll recipe and docs/ops call it before rolling and print its answer.
  • [ ] Nothing about the release workflow or the chart changes in this pull.

A test that goes red in this pull is fixed in this pull. Name any new test file in GATE in scripts/gate.ts.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs