Repository navigation
docs(rfc): propose the external network enforcer and native-network mode (RFC 0029) - #6117
Open
Gal-Zaidman wants to merge 1 commit into
Open
Gal-Zaidman wants to merge 1 commit into
Gal-Zaidman wants to merge 1 commit into
Conversation
Gal-Zaidman
force-pushed
the
docs/external-enforcer-rfc/Gal-Zaidman
branch
from
December 1, 2026 08:03
ee28621 to
5d5d245
Compare
2 of 5 tasks
RFC 0029 lets an external enforcer enforce a native-network sandbox's network policy and inject its credentials. It connects to the gateway as a supervisor host in an enforcer role, reads configuration and provider environment through the supervisor RPCs, and acknowledges with ReportSandboxConfiguration. The gateway holds a generation's agent until the enforcer accepts it, holds credential rotations until the enforcer has them, and makes a policy revision current once both sides apply it. The Kubernetes driver selects the mode with an external_enforcer table, and RFC 0012 admits it as the one exception to egress mediation. Signed-off-by: Gal Zaidman <gzaidman@nvidia.com>
Gal-Zaidman
force-pushed
the
docs/external-enforcer-rfc/Gal-Zaidman
branch
from
December 1, 2026 12:48
7ae8418 to
23de352
Compare
2 of 12 tasks
This branch has not been deployed
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
Propose RFC 0029, which lets an external policy enforcer enforce a Kubernetes sandbox's network policy and inject its provider credentials instead of the supervisor. Sandboxes it serves run in native-network mode, and the gateway keeps the agent from running until the enforcer has accepted the sandbox's configuration.
Related Issue
Closes #6024. The implementation follows in a separate PR, behind the
experimentalfeature.Changes
external_enforcertable: the agent's traffic leaves on the network interface the enforcer owns, without the supervisor's egress proxy or policy DNS.SupervisorHoststream with its own role and token. It reads configuration and provider environment through the existing supervisor RPCs and reports what it enforces withReportSandboxConfiguration.experimentalfeature until it runs end to end, plus risks, alternatives, and prior art.Release Notes
Testing
mise run markdown:lintpasses, including Mermaid validation.git diff --checkpasses.Checklist