Shared Traefik for a multi-customer SaaS where one pipeline writes every IngressRoute: does the multi-tenant guidance apply?

We run one Traefik v3 deployment per AKS cluster in front of up to about >100 customer namespaces. Each namespace runs its own copy of the same application. Customers have no access to the cluster. A single platform pipeline writes every IngressRoute, IngressRouteTCP and Middleware, and no other identity can write Traefik CRDs.

The multi-tenant page (Traefik in Multi-Tenant Kubernetes Clusters - Traefik) recommends "one dedicated Traefik instance per tenant, scoped to that tenant's namespace(s)".

Does "tenant" there mean a party that writes its own routing resources, such as a team? If so, a platform that writes every route would count as one tenant, and a single instance scoped to its namespaces would match the recommendation. Or should the guidance be applied per customer namespace even when customers write nothing?

Thanks for any guidance.

In your case, a single Traefik instance for the entire platform appears to be a suitable approach. However, consider the implications on resource usage and potential bottlenecks.

Thanks. To be precise, it’s one shared Traefik tier per cluster, three fixed replicas (one per zone), serving 50 to 400 customers, with every IngressRoute written by our pipeline only. 3 things I’d value experience on:

  1. Running roughly 600 to 1,200 IngressRoutes across several hundred namespaces from the Kubernetes CRD provider: memory, and how long a configuration rebuild takes during bursts of route changes.
  2. CPU overhead of the Coraza WAF plugin running the OWASP Core Rule Set, per request at moderate load.
  3. TCP routing by SNI with TLS passthrough for long-lived connections: anything to watch during rolling updates.