Conversation
Signed-off-by: Gordon Sim <gsim@redhat.com>
grs
requested review from
a team,
derekwaynecarr,
mrunalp and
sjenning
as code owners
September 21, 2026 13:16
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Kubernetes warm pooling for template-based sandboxes. The Kubernetes driver prepares single-use workload/supervisor pairs ahead of demand, allowing compatible sandbox creates to claim ready capacity while preserving cold provisioning as a fallback.
Warm pooling is enabled by default with bounded capacity, but only templates with
startup.ready_withinand a positivestartup.max_burstrequest spare pairs.Example:
openshell sandbox template create my-template \ --ready-within 1s \ --max-burst 2 openshell sandbox create \ --template my-template \ -- echo readyRelated Issue
Closes #2157
Changes
RegisterSupervisorflow so prepared supervisors can register before logical assignment and receive their operational credentials and launch configuration after the gateway verifies the physical runtime and persisted assignment.Testing
mise run pre-commitpassesThe branch adds focused coverage for pool reconciliation, target selection and reservation conflicts, claim/retirement CAS behavior, restart recovery, late-bound authentication, configuration rendering, and persistence.
The opt-in Kubernetes E2E scenario verifies that:
Checklist