feat(kubernetes): add proxy-pod supervisor topology#2077
Open
TaylorMutch wants to merge 2 commits into
Open
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
🌿 Preview your docs: https://nvidia-preview-pr-2077.docs.buildwithfern.com/openshell |
Add the Kubernetes proxy-pod supervisor topology, including paired supervisor Deployments, Services, Secrets, NetworkPolicies, RBAC, owner-reference cleanup, supervisor recreation, and shared process enforcement mode support. Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
a886a49 to
9b0766c
Compare
8 tasks
|
Label |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the Kubernetes
proxy-podsupervisor topology as the third stacked topology PR.This draft targets the sidecar topology PR (#2076) so reviewers can inspect only the proxy-pod delta.
proxy-podmoves network enforcement and gateway forwarding into a per-sandbox supervisor Deployment paired 1:1 with the agent pod. This topology requires Kubernetes NetworkPolicy enforcement; without an enforcing CNI or controller, the agent pod is not forced through its paired supervisor proxy.Runtime validation status:
proxy-podhas been tested with Kata Containers and gVisor and is functional when NetworkPolicy enforcement is enabled.Proxy-pod mode preserves gateway session and SSH behavior, but runs the process supervisor in network-only mode by default. Filesystem policy, process privilege dropping, and process/binary identity checks are not applied unless full process enforcement is explicitly configured.
Related Issue
References #1827, #981, #899, #1305.
Related PRs: #1973, #2074, #2076, #2016.
Changes
proxy-podsupervisor topology.Testing
git diff --check feat/kubernetes-sidecar-topology-v2..feat/kubernetes-proxy-pod-topology-v2cargo check -p openshell-driver-kubernetes -p openshell-sandbox -p openshell-supervisor-process -p openshell-supervisor-networkcargo test -p openshell-driver-kubernetes --libcargo test -p openshell-supervisor-process --libmise run helm:testmarkdownlint-cli2 docs/kubernetes/topology.mdx docs/kubernetes/setup.mdxChecklist