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
Commit 44ef984
Browse filesBrowse the repository at this point in the historyBrowse files
fix(supervisor): guard shared supervisor pool configuration (ai-openshell#4988)
* fix(supervisor): guard shared supervisor pool configuration
Raise the gateway's minimum supervisor pool recovery timeout from 10 to
30 seconds. A failed pool member takes up to about 24 seconds to detect,
so a shorter deadline ended workloads another member would have adopted.
The Sandbox Protocol range stays 10 to 300 seconds for compatibility.
Refuse an [openshell.gateway.supervisor_pool] table during config
preflight, and at startup before the compute driver is built, unless the
selected driver hosts sandboxes on the shared supervisor pool. A new
ComputeDriverFactory::uses_shared_supervision hook reports this; the
Kubernetes factory returns true with supervisor_topology = "gateway".
Widen the readiness deadline of a shared-startup supervisor test that
timed out under full-workspace load.
Signed-off-by: divesh <dgude@nvidia.com>
* fix(gateway): require driver selection for pool preflight
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* docs(gateway): remove pool preflight note
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
---------
Signed-off-by: divesh <dgude@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Co-authored-by: Drew Newberry <anewberry@nvidia.com>
Copy file name to clipboardExpand all lines: deploy/helm/openshell/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -704,7 +704,7 @@ discovery endpoint or its TLS CA.
704
704
| supervisor.podSecurityContext.runAsNonRoot | bool | `true` | Require the shared supervisor to run as a non-root user. |
705
705
| supervisor.podSecurityContext.runAsUser | int | `65534` | UID assigned to the shared supervisor pod. |
706
706
| supervisor.podSecurityContext.seccompProfile.type | string | `"RuntimeDefault"` | Seccomp profile applied to the shared supervisor pod. |
707
-
| supervisor.recoveryTimeoutSeconds | int | `60` | Seconds a sandbox workload stays frozen after losing its pool member's supervision before the sandbox runtime terminates it, rendered as [openshell.gateway.supervisor_pool] recovery_timeout_secs. Must be an integer from 10 to 300. Null leaves the gateway's pool default of 60 seconds. |
707
+
| supervisor.recoveryTimeoutSeconds | int | `60` | Seconds a sandbox workload stays frozen after losing its pool member's supervision before the sandbox runtime terminates it, rendered as [openshell.gateway.supervisor_pool] recovery_timeout_secs. Must be an integer from 30 to 300. Null leaves the gateway's pool default of 60 seconds. |
708
708
| supervisor.replicas | int | `1` | Shared supervisor pool members, used only when gatewayConfig selects supervisor_topology = "gateway". The gateway always coordinates the shared supervisor as a high-availability pool: when a member fails or leaves, another member takes over its sandboxes without restarting their workloads. 1 has no failover; use 2 or more to survive losing a member. Only the supervisor Deployment's replica count depends on this value, so changing it neither restarts the gateway nor replaces running members. Ignored when supervisor.autoscaling.enabled is true. |
0 commit comments