Skip to content

feat(kubernetes): support upstream proxies with shared supervisors - #5880

Open
shiju-nv wants to merge 1 commit into
ai-openshell:mainfrom
shiju-nv:feat/shared-supervisor-upstream-proxy/shiju-nv
Open

shiju-nv wants to merge 1 commit into
ai-openshell:mainfrom
shiju-nv:feat/shared-supervisor-upstream-proxy/shiju-nv

Conversation

@shiju-nv

Copy link
Copy Markdown
Collaborator

Summary

Kubernetes deployments that require an upstream CONNECT proxy currently need a dedicated supervisor Pod per sandbox. This change lets operators use the same upstreamProxy settings with a shared supervisor pool, while applications keep their destination URLs and each sandbox keeps its policy and provider credential bindings.

Related Issue

Closes #5879

Changes

  • Accept upstream proxy settings with supervisor_topology=gateway. Helm grants the gateway get on the configured proxy Secret name through a namespace Role in shared workspace mode and a ClusterRole in managed or operator workspace mode.
  • Cover topology validation, Secret access, private file staging, and the authenticated HTTPS proxy workflow. Document configuration, upgrades, and credential rotation.

Release Notes

Shared Kubernetes supervisors support upstreamProxy for policy-approved CONNECT egress. Upgrade the gateway and every pool member before enabling the settings. Start a new sandbox generation to pick up changes to proxy settings, credentials, or CA trust.

Testing

  • Checks appropriate to the affected code and behavior pass
  • Unit tests added/updated (if applicable)
  • E2E tests added/updated (if applicable)

Checklist

@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Nov 21, 2026
@shiju-nv
shiju-nv force-pushed the feat/shared-supervisor-upstream-proxy/shiju-nv branch from 5e27d44 to 28057a3 Compare November 26, 2026 15:16
@shiju-nv shiju-nv added area:drivers Compute and secret drivers, host OS/architecture support, backend isolation, and lifecycle. topic:kubernetes Kubernetes operators, CRDs, deployment controllers, and native Kubernetes API integration. topic:networking General network transport, connectivity, and proxy behavior. test:e2e Requires end-to-end coverage test:e2e-kubernetes Requires Kubernetes end-to-end coverage labels Nov 26, 2026
Carry operator proxy settings, credentials, and CA trust in each sandbox generation. Stage the material privately on the assigned supervisor and grant reads of the configured proxy Secret.

Refs: ai-openshell#5879
Signed-off-by: Shiju <shiju@nvidia.com>
@shiju-nv
shiju-nv force-pushed the feat/shared-supervisor-upstream-proxy/shiju-nv branch from 28057a3 to 98c4a47 Compare November 26, 2026 15:27
@shiju-nv
shiju-nv marked this pull request as ready for review November 26, 2026 15:55
@shiju-nv
shiju-nv requested a review from a team as a code owner November 26, 2026 15:55

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:drivers Compute and secret drivers, host OS/architecture support, backend isolation, and lifecycle. state:accepted A maintainer decided OpenShell should pursue this issue test:e2e Requires end-to-end coverage test:e2e-kubernetes Requires Kubernetes end-to-end coverage topic:kubernetes Kubernetes operators, CRDs, deployment controllers, and native Kubernetes API integration. topic:networking General network transport, connectivity, and proxy behavior.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(supervisor): support upstream proxies with shared supervisors

1 participant