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 0f18bf7
Browse filesBrowse the repository at this point in the historyBrowse files
feat(k8s-driver): add default_runtime_class_name config for sandbox pods
Allow operators to configure a default Kubernetes runtimeClassName that
is applied to sandbox pods when the CreateSandbox request does not
specify one. This avoids requiring every API caller to explicitly set the
runtime class for clusters that always need a specific RuntimeClass
(e.g. kata-containers, nvidia).
The fallback is applied in the Kubernetes driver only — per-request
values still take priority, and an empty default (the built-in) preserves
existing behavior (field omitted, cluster default applies).
Copy file name to clipboardExpand all lines: deploy/helm/openshell/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,6 +190,7 @@ cert-manager alternative.
190
190
| securityContext.runAsUser | int |`1000`| UID assigned to the gateway container. |
191
191
| server.auth.allowUnauthenticatedUsers | bool |`false`| UNSAFE: accept unauthenticated CLI/user requests as a local developer principal. Intended only for trusted local Skaffold/k3d development or a fully trusted fronting proxy. Leave false for shared or production clusters. |
192
192
| server.dbUrl | string |`"sqlite:/var/openshell/openshell.db"`| Gateway database URL (used for the default SQLite backend). |
193
+
| server.defaultRuntimeClassName | string |`""`| Default Kubernetes runtimeClassName for sandbox pods. Applied when a CreateSandbox request does not specify one. Empty (default) = omit the field, using the cluster's default RuntimeClass. Set to a RuntimeClass name (e.g. "kata-containers", "nvidia") to apply it to all sandboxes that don't explicitly override it. |
193
194
| server.disableTls | bool |`false`| Disable TLS entirely - the server listens on plaintext HTTP. Set to true when a reverse proxy / tunnel terminates TLS at the edge. |
194
195
| server.enableLoopbackServiceHttp | bool |`true`| Enable plaintext HTTP routing for loopback sandbox service URLs on TLS-enabled gateways. |
195
196
| server.enableUserNamespaces | bool |`false`| Enable Kubernetes user namespace isolation (hostUsers: false) for sandbox pods. Requires Kubernetes 1.33+ with user namespace support available (beta through 1.35, GA in 1.36+), plus a supporting container runtime and Linux 5.12+. When enabled, container UID 0 maps to an unprivileged host UID and capabilities become namespaced. |
0 commit comments