Skip to content

v5.0: App Routing only, home Kustomization, no Traffic Manager - #248

Merged
olljanat-ai merged 5 commits into
mainfrom
claude/project-thread-0shv08
Nov 26, 2026
Merged

olljanat-ai merged 5 commits into
mainfrom
claude/project-thread-0shv08

Conversation

@olljanat-ai

@olljanat-ai olljanat-ai commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Requested by Olli · project thread

Part of the trial in onek8s/onek8s.github.io#130 (design v4.13). Draft, not applied.

  • traefik.tf, gateways/traefik/, traefik_flux_repository and the Traefik tests are removed.
  • gateway_implementation becomes gateways_enabled (bool, default true). True means App Routing's approuting-istio. The stateful cluster sets false. The Flux repository now names the class itself, so gateway_class_name_<gateway> and gateway_implementation are no longer passed.
  • tenants/ no longer creates tenants-<zone>. It only fed Traefik's watch namespaces. zone_tenants_path and the traefik-* / tenants-* name reservations are removed too.
  • Deploy: the step that cleaned up App Routing's leftovers after a switch to Traefik is removed. The credential fetch it did is kept for the StorageClass clean-up.
  • Cluster status records the edge's HTTP/1.1 and TLS 1.2 answers instead of failing on them.
  • CIS accepted.yaml: the Traefik entries are replaced by one 4.1.6 entry for App Routing's Envoy service accounts. This is unverified until a CIS run.
  • Lab cost: the az3 system pool needs node_count = 2, because istiod requests 2 x 500m / 2 GiB. That adds one Standard_D4alds_v6 (4 vCPU of Daldv6 quota 12).

Checks: terraform fmt is clean. terraform test could not run here because the registry is blocked, so CI has to run it.

Rollout, if adopted: merge aks-fluxcd-platform and aks-fluxcd-example first, so the Gateways name approuting-istio. Then apply the cell, which turns App Routing Istio on, removes the traefik-* Flux configurations and adds the second system node. Then apply dev-tenants, which removes tenants-<zone> and adds the home Kustomization. The zone gateways are down for a few minutes between the two steps.

Round 2: the route as the DNS switch, App Routing's managed DNS

  • tenants/: a tenant's flux.home (cell, path) adds a home Kustomization in that cell alone, for the routes of the application's own name. A precondition checks the cell is one of the tenant's and the path starts with ./. There are three new test runs. The dev catalogue files name ./firewall-egress/home and ./firewall-egress-int-fi/home, and home_cell leaves substitute.
  • The App Routing add-on is turned on with gateways_enabled, for its ClusterExternalDNS.
  • The Flux settings are now dns_zone_id and internal_dns_zone_ids (a YAML flow sequence of resource IDs). dns_zone_resource_group_name, dns_zone_subscription_id, dns_zone_private, dns_provider and internal_dns_resource_group_name are removed. Tests, README, variables and CLAUDE.md are updated to match.

Round 3: no Traffic Manager

  • shared/: global_hostnames and the Traffic Manager profiles, endpoints, CNAMEs, check and output are removed. So are the naming policy's traffic_manager_profile type and its {domain} placeholder. Five Traffic Manager test runs are gone; the private-zone lookup keeps a run of its own.
  • Deploy and Isolation tests comments, README and CLAUDE.md are updated to match.

Traefik was there only for HTTP/2 alone and TLS 1.3 alone at the edge, which App Routing's
Istio cannot offer yet. With those dropped (design v4.13, the user's trial):

- traefik.tf, gateways/traefik, traefik_flux_repository and the Traefik tests are gone;
  gateway_implementation becomes gateways_enabled (App Routing's approuting-istio, or no
  Gateways for the stateful cluster); the Flux repository names the class itself.
- tenants/ no longer keeps tenants-<zone> (the namespaces Traefik watched).
- Deploy no longer cleans up App Routing's leftovers (there is no other class to switch to).
- Cluster status records the edge's protocols instead of failing on HTTP/1.1 and TLS 1.2.
- The lab cell gets a second system node for istiod (2 x 500m / 2 GiB).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpAsQbfwzGcBZTU3FNqQCk
@olljanat-ai olljanat-ai self-assigned this Nov 26, 2026
The tenant's flux.home names the home cell and the path of its internal-name
routes: a Kustomization of its own in that cell alone, so no platform/home-cell
filter. The App Routing add-on is enabled with the gateways for its
ClusterExternalDNS; the Flux repository is told the zones' resource IDs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpAsQbfwzGcBZTU3FNqQCk
Every application, external too, runs in one home cell and is published by
its home cell's external-dns: global_hostnames, the Traffic Manager profiles,
endpoints and CNAMEs, and the naming policy's traffic_manager_profile type
and {domain} placeholder go.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpAsQbfwzGcBZTU3FNqQCk
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpAsQbfwzGcBZTU3FNqQCk
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpAsQbfwzGcBZTU3FNqQCk
@olljanat-ai olljanat-ai changed the title Remove Traefik: App Routing's Istio serves every Gateway (trial, design v4.13) v5.0: App Routing only, home Kustomization, no Traffic Manager Nov 26, 2026
@olljanat-ai
olljanat-ai marked this pull request as ready for review November 26, 2026 18:42
@olljanat-ai
olljanat-ai merged commit e28883f into main Nov 26, 2026
3 checks passed
@olljanat-ai
olljanat-ai deleted the claude/project-thread-0shv08 branch November 26, 2026 18:56
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.

2 participants