Repository navigation
Conversation
Design for an Envoy ingress gateway running as an unprivileged Deployment (no node DaemonSet on gateway nodes) that forwards external traffic directly to destination pods' mesh inbound listeners (pod_ip:15008) over mTLS — the edge is just another mesh client, so the node data plane is untouched. Control plane is the agent in a subtractive edge mode (registrar watch + snapshot cache + SDS from the Workload API, no CNI/netns/delegated-identity), with single-identity plain-transport clusters (no per-downstream pooling) and an explicit exposure allowlist. Co-Authored-By: Claude Opus 4.8 <[email protected]>
…S analysis Cross-cluster gets its own section: mechanically trivial to emit remote endpoints, but correctness depends on four unsettled layers (pod-IP reachability as an unverified infra assumption, WAN-degraded health semantics + no defined merge of non-authoritative registrar snapshots, drain staleness stretching from watch latency to poll intervals, and a missing locality-priority failover policy) — the edge must consume the multi-cluster contract, not define it implicitly by being first. Control-plane section now spells out why the edge agent is a sidecar rather than a node-level DS: per-pod Workload API identity (no delegated identity), atomic lifecycle per replica, and generic scheduling. Co-Authored-By: Claude Opus 4.8 <[email protected]>
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.
Design proposal for north-south ingress: an Envoy gateway running as a normal unprivileged Deployment behind a Service (no agent/proxy DaemonSet on gateway nodes), forwarding external traffic directly to destination pods' inbound mTLS listeners (
pod_ip:15008).Core principle: the edge is just another mesh client — endpoint discovery (registrar watch), delivery address, readiness HC (
/-/-/ready), EDS health, and trust-domain mTLS are the existing east-west contract, so the node data plane needs zero changes.Key decisions:
agent --mode=edgesidecar (subtractive: no CNI/netns/storage/delegated-identity) sharing the snapshot cache, registrar client, delta-xDS + ACK tracking, and generators with the node agent; SDS straight from the Workload API socket (the edge needs only its own SVID + bundle).UpstreamTransportSocket(the existing zero-local-workloads code path) and noconnection_pool_per_downstream_connection— full upstream multiplexing, none of the fix(agent): bound idle connections and per-connection buffers #136 leak class.edge.exposesvalues; Host/domain vhosts), no CRDs in v1; Gateway API maps 1:1 as v2./aether/readyzreadiness filter; plain Envoy entrypoint.cgroup_memorymonitor that is fatal in the privileged node DS would work here.🤖 Generated with Claude Code