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 32f0264
Browse filesBrowse the repository at this point in the historyBrowse files
feat(sandbox): initiate supervisor connections across compute drivers (#4656)
* feat(sandbox): support sandbox-initiated supervisor connections
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* refactor(sandbox): consolidate control transport setup
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* test(sandbox): remove prototype-specific unit tests
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* feat(kubernetes): migrate legacy control flow on restart
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* docs: remove prototype changes from published docs
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(sandbox): adapt reverse control to published backend protocol
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* feat(sandbox): initiate supervisor connections across compute drivers
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(docker): stage reverse control socket for the supervisor identity
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* refactor(sandbox): keep runtime transports behind the backend
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(docker): mount the runtime control volume read-only
The sandbox runtime only dials the supervisor-owned control socket, so
it does not need write access to the control volume. Mount it read-only
in the runtime container and stop staging the control directory through
the runtime bundle; the supervisor stager already initializes it through
its own writable mount.
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(kubernetes): separate legacy and runtime-initiated control services
Keep os-boundary selecting the workload and add os-supervisor for runtime-initiated connections. Bind the mode marker to its runtime generation so a restart by an older gateway does not inherit stale mode metadata. Preserve the legacy Service across creation and restart, validate the active endpoint, and drop the Service patch permission.
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
---------
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
|`network_mode = host` on the supervisor | Lets the trusted supervisor reach the gateway's primary loopback listener and originate approved upstream connections. |
|`PidsLimit`| Applies the configured sandbox PID budget. Omit `sandbox_pids_limit` to use OpenShell's default. Explicit zero is invalid. |
111
-
| Private named volumes |One carries the authenticated sandbox/supervisor channel. The other is mounted only into the supervisor and contains its JWT and private gateway credentials. |
111
+
| Private named volumes |Separate volumes carry sandbox bootstrap keys, the runtime-initiated Unix socket, and supervisor-only credentials. The supervisor mounts bootstrap keys read-only and only the socket volume writable. |
112
112
| In-memory `/run/openshell-supervisor-ca` tmpfs | Holds only the public supervisor CA certificate and trust bundle without making all of `/run` writable. |
113
113
| CDI GPU request | Assigns the exact validated CDI devices requested by driver config or count-based selection. |
114
114
115
+
New containers dial the supervisor at `/.openshell/channel/control/supervisor/control.sock`.
116
+
The runtime remains the TLS/gRPC server; the supervisor verifies its pinned
117
+
identity and supplies the existing bearer credential. Saved descriptors retain
118
+
the legacy Unix listener for existing containers, including across restart.
119
+
New generations require matching supervisor and sandbox runtime binaries.
120
+
115
121
## Stop, Start, and Delete
116
122
117
123
Stop terminates the supervisor companion and stops the workload container
0 commit comments