Skip to content

chore(edge): mark edge pods explicitly unmanaged (aether.io/managed=false) - #266

Merged
bpalermo merged 1 commit into
mainfrom
chore/edge-explicitly-unmanaged
Jun 22, 2026
Merged

bpalermo merged 1 commit into
mainfrom
chore/edge-explicitly-unmanaged

Conversation

@bpalermo

Copy link
Copy Markdown
Owner

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 in aether-system.

  • Label is on the pod template only, not the Deployment selector (which uses the minimal selectorLabels), so it's upgrade-safe (helm template confirms: 1 occurrence, on the pod template, not the selector).
  • Chart 0.19.0 → 0.19.1.

…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
bpalermo merged commit 9118039 into main Jun 22, 2026
14 checks passed
@bpalermo
bpalermo deleted the chore/edge-explicitly-unmanaged branch June 22, 2026 20:34
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant