Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NVIDIA/OpenShell
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: NVIDIA/OpenShell
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: pull-request/5756
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 26 files changed
  • 1 contributor

Commits on Nov 19, 2026

  1. feat(supervisor): bound pool capacity by per-member and per-gateway l…

    …imits
    
    Add [openshell.gateway.supervisor_pool] max_instances_per_member (16-1024,
    default 128) and max_members_per_gateway (1-64, default 32). The pool cap is
    live gateway replicas * members * instances, never above 131072. Placement
    picks the least-loaded member with room and never charges a member past its
    cap. Supervisors take the same cap through --pool-max-instances and size
    their gateway stream buffers from it.
    
    Refs #5748
    
    Signed-off-by: divesh <[email protected]>
    FrostGod committed Nov 19, 2026
    Configuration menu
    Copy the full SHA
    c8eeca2 View commit details
    Browse the repository at this point in the history
  2. feat(helm): size cluster sandbox capacity from Helm values

    Render supervisor.pool.maxInstancesPerMember and maxMembersPerGateway into the
    gateway config and supervisor env, validate their ranges, and fail the render
    when supervisor replicas or HPA maxReplicas exceed gateway replicas *
    maxMembersPerGateway. Default to two supervisors with configurable resources
    (250m/768Mi requests, 1.5Gi memory limit) and add values-scale-100k.yaml.
    
    Closes #5748
    
    Signed-off-by: divesh <[email protected]>
    FrostGod committed Nov 19, 2026
    Configuration menu
    Copy the full SHA
    d9eb4cb View commit details
    Browse the repository at this point in the history
  3. feat(supervisor): accept per-member caps down to one sandbox

    Lower max_instances_per_member and supervisor.pool.maxInstancesPerMember to
    1..=1024. Gateway message and status-report bounds keep the floor a cap of 16
    gave, since snapshots also carry the pool-wide route directory. Document how
    to add gateway replicas for more supervisors.
    
    Refs #5748
    
    Signed-off-by: divesh <[email protected]>
    FrostGod committed Nov 19, 2026
    Configuration menu
    Copy the full SHA
    9574c36 View commit details
    Browse the repository at this point in the history
  4. refactor(supervisor): drop the members-per-gateway maximum and trim p…

    …ool limits plumbing
    
    Only sandboxes per supervisor stays bounded (1-1024). Members per gateway
    accepts any positive value; the 131072 pool ceiling still applies.
    Placement refusals now say "sandbox capacity reached" and name the
    limit that was hit.
    
    Refs #5748
    
    Signed-off-by: divesh <[email protected]>
    FrostGod committed Nov 19, 2026
    Configuration menu
    Copy the full SHA
    e8f0958 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4728420 View commit details
    Browse the repository at this point in the history
  6. chore(helm): replace the 100k sizing profile with a 10k profile

    Two gateways with up to 40 supervisors each, at 128 sandboxes per
    supervisor, hold 10,240 sandboxes.
    
    Refs #5748
    
    Signed-off-by: divesh <[email protected]>
    FrostGod committed Nov 19, 2026
    Configuration menu
    Copy the full SHA
    c17f546 View commit details
    Browse the repository at this point in the history
Loading