You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(helm): size cluster sandbox capacity from Helm values #5748
I run OpenShell on Kubernetes with the shared supervisor pool and need to set, from Helm values alone, how many sandboxes each supervisor runs, how many supervisors each gateway serves, and how many gateways run, so a cluster can grow toward a large target (such as 100,000 sandboxes) while default installs stay small.
Problem Statement
Pool limits are hardcoded: MAX_ASSIGNED_INSTANCES = 256 and MAX_POOL_INSTANCES = 4096 in openshell-supervisor-control, and the supervisor memory limit is fixed at 1Gi in templates/supervisor.yaml.
Impact / Why This Matters
None of these sizes can be changed without rebuilding images, so a pool tops out at 4,096 sandboxes whatever the cluster size.
Proposed Design
Gateway config [openshell.gateway.supervisor_pool]: max_instances_per_member (default 128, 16..=1024), max_members_per_gateway (default 32, 1..=64). Pool cap = gateway replicas × members × instances, ceiling 131072.
Never assign past a member's cap; place new sandboxes on the least-loaded member; size supervisor buffers from the configured cap.
changed the title [-]feat(helm): configurable shared supervisor pool limits for 100k-sandbox clusters[/-][+]feat(helm): set sandboxes per supervisor, supervisors per gateway, and gateway count from Helm values[/+]on Nov 19, 2026
changed the title [-]feat(helm): set sandboxes per supervisor, supervisors per gateway, and gateway count from Helm values[/-][+]feat(helm): size cluster sandbox capacity from Helm values[/+]on Nov 19, 2026
Activity
[-]feat(helm): configurable shared supervisor pool limits for 100k-sandbox clusters[/-][+]feat(helm): set sandboxes per supervisor, supervisors per gateway, and gateway count from Helm values[/+][-]feat(helm): set sandboxes per supervisor, supervisors per gateway, and gateway count from Helm values[/-][+]feat(helm): size cluster sandbox capacity from Helm values[/+]chore(helm): replace the 100k sizing profile with a 10k profile
docs(helm): avoid emphasis markers in the members-per-gateway descrip…
fix(helm): leave shared supervisor resources unset by default
docs(kubernetes): pull the chart before installing the 10k sizing pro…
fix(helm): keep one shared supervisor replica by default
fix(supervisor): size snapshot decoding for the pool-wide route direc…
feat(supervisor): bound pool capacity by per-member and per-gateway l…
feat(helm): size cluster sandbox capacity from Helm values
feat(supervisor): accept per-member caps down to one sandbox
refactor(supervisor): drop the members-per-gateway maximum and trim p…
refactor(server): report one sandbox capacity message for both pool l…
chore(helm): replace the 100k sizing profile with a 10k profile
docs(helm): avoid emphasis markers in the members-per-gateway descrip…
fix(helm): leave shared supervisor resources unset by default
docs(kubernetes): pull the chart before installing the 10k sizing pro…
fix(helm): keep one shared supervisor replica by default
fix(supervisor): size snapshot decoding for the pool-wide route direc…
feat(helm): size cluster sandbox capacity from Helm values (ai-opensh…