Repository navigation
chore(edge): mark edge pods explicitly unmanaged (aether.io/managed=false) - #266
Merged
Merged
Conversation
…alse) The edge is an ingress gateway, not a mesh workload — it has no per-pod proxy and is never CNI-intercepted. Today it's excluded only implicitly, by running in the aether-system namespace that the CNI plugin skips. Add aether.io/managed: "false" to the pod template so the exclusion is explicit and doesn't depend on the ignored-namespace list (or on the edge always living in aether-system). The label goes on the pod template only, not the Deployment selector (which uses the minimal selectorLabels), so it's upgrade-safe. Chart 0.19.0 -> 0.19.1. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01N7oY7W8oDXrqDzFgoZh25S
bpalermo
added a commit
that referenced
this pull request
Jun 22, 2026
* feat(edge): run the edge in its own aether-ingress namespace The edge is an ingress gateway, not a mesh workload. Move its resources out of the release namespace into a dedicated `aether-ingress` (configurable via edge.namespace; the chart creates it with baseline PSA unless namespaceCreate is false). #266's explicit aether.io/managed=false label keeps it mesh-excluded namespace-agnostically (the CNI plugin no longer skips it by namespace, but the agent's isIgnorablePod still ignores it by label). Edge stays opt-in (edge.enabled default false). - New aether.edge.namespace helper; edge Deployment/Service/ServiceAccount/ ConfigMap/Role+RoleBinding/ClusterSPIFFEID-selector all render into it. - edge-namespace.yaml creates aether-ingress (baseline PSA — the edge is unprivileged, unlike the agent/CNI's privileged control-plane namespace). - edge-meshconfig.yaml seeds a namespaced `default` MeshConfig in aether-ingress with an empty spec: it inherits the control-plane MeshConfig via the controller's fallback (PR #267), so the edge's projected ConfigMap mirrors the mesh by default; operators can edit it for edge-specific observability. - SPIRE: the ClusterSPIFFEID namespaceSelector targets aether-ingress; the PodMeta.Namespace template makes the SVID ns/aether-ingress/sa/aether-edge. - Pass --registrar-address explicitly (release-namespace-correct) since the edge now reaches the registrar cross-namespace and the binary default assumes aether-system. Depends on #267 (namespaced MeshConfig). Chart 0.20.0 -> 0.21.0. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01N7oY7W8oDXrqDzFgoZh25S * docs(edge): correct the managed-label + toleration rationale for the namespace move The edge no longer runs in aether-system, so "the CNI plugin skips aether-system pods" is stale: in its own namespace the plugin calls the agent, which ignores the edge via the managed=false label. Update both comments. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01N7oY7W8oDXrqDzFgoZh25S --------- 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.
The edge is an ingress gateway, not a mesh workload — no per-pod proxy, never CNI-intercepted. Today it's excluded from the mesh only implicitly, by living in
aether-system(which the CNI plugin skips).This adds
aether.io/managed: "false"to the edge pod template so the exclusion is explicit and no longer depends on the ignored-namespace list — or on the edge always running inaether-system.selectorLabels), so it's upgrade-safe (helm templateconfirms: 1 occurrence, on the pod template, not the selector).0.19.0→0.19.1.