Multi-cluster OpenTelemetry gateway design for regulated and multi-region estates
Most organizations with several Kubernetes clusters across accounts or regions eventually want those clusters to feed the same back ends, and the design question is where the telemetry should pass through on the way. OpenTelemetry is not an observability back end. It generates, exports and collects traces, metrics and logs, while storage and visualization are left to separate tools. The OpenTelemetry Collector fills the collection role. According to the Collector documentation, it can run as an agent next to services or as a gateway that accepts data from many sources. The Collector is licensed under Apache-2.0, so the gateway layer itself carries no license cost, but you will operate it, patch it and size it. Before you add a per-cluster gateway tier, confirm which of your clusters need one, because agents that export straight to a central gateway may be enough for a small estate.
A per-cluster gateway layer is worth its operating cost when it solves a specific problem: keeping telemetry for a cluster inside its own network or region, absorbing bursts before data crosses a wide-area link, or applying one set of redaction and filtering rules close to the source. Each gateway is another deployment with its own configuration, certificates, upgrades and monitoring, so multiply that work by the number of clusters before you commit. Ask your team to write down, for each region, which regulated data classes may leave it, which back end must receive them, and who owns the gateway configuration. Those answers shape the rest of the design, including where cluster identity is added and how the gateways authenticate to each other. Treat the Collector release notes as part of your planning, since the project ships new versions often and each gateway must follow the same release track.
How node agents, per-cluster gateways and central back ends connect across regions
The diagram starts with workloads and node agents inside each cluster, which send telemetry to a per-cluster gateway Collector. That gateway stays inside its region and is the only component that crosses the trust boundary, using an authenticated exporter to reach a central gateway or back end. Check that each cluster adds its identity attributes before export, that the cross-boundary link carries credentials, and that traffic from a region never leaves that region unless you have decided it should.
Telemetry leaves each cluster only through its authenticated gateway.
Which gateway topology fits your clusters
The right gateway topology depends on how many clusters you run, where they sit, and how much failure isolation and egress cost your organization can accept. There are three common options. A single central gateway receives all telemetry from every cluster, which gives one configuration to maintain but creates one shared failure domain and sends every byte across regions. A gateway per cluster keeps each cluster's failure domain separate and lets traffic leave the cluster in one hop, but it multiplies configuration that must stay identical across clusters. Regional gateways sit between the two, aggregating clusters within one region before forwarding to central back ends, so cross-region egress carries already-reduced data and a regional outage affects only that region.
Each option moves three trade-offs. For failure isolation, a per-cluster gateway that fails only affects its own cluster's telemetry, while a central gateway failing blinds every cluster at once, so check how much buffering the agents and gateways hold during an outage. For egress cost, the question is where data crosses a paid network boundary and how much it has been filtered or sampled before it does. For configuration drift, the more gateways you run, the more likely they diverge in processors, exporters and component versions, so plan to generate them from one source of truth, such as a shared Helm values template or a GitOps repository. Decide where cluster identity is stamped as well: setting attributes such as k8s.cluster.name in each cluster's agents is safer than relying on the gateway, because a gateway that sees data from several clusters cannot tell them apart unless the upstream sender already labeled it.
The Collector can run as an agent beside workloads or as a gateway that accepts data from many sources, and most multi-cluster designs use both. Confirm your own limits before choosing: the number of clusters, their regions, expected telemetry volume, your data residency rules, and whether your back ends accept traffic from each region directly. Test a single cluster end to end with the chosen topology, including a deliberate gateway restart and a simulated loss of the link to the central back end, and record what data is lost and how long buffering lasts. The OpenTelemetry Collector documentation describes both deployment roles and is the natural next read before you commit to a layout.
Gateway topology options and when each fits
This table compares four ways to move telemetry from many clusters to central back ends: a single central gateway, a gateway per cluster, a regional gateway chain, and direct export from agents. Read each row against your region count, your identity model and how much a single failure should be allowed to reach. Most teams end up with per-cluster or regional gateways, because they keep failures and cross-region traffic contained.
| Topology | When it fits | Identity handling | Failure blast radius | Confirm with the back-end team |
|---|---|---|---|---|
| Single central gateway | Few clusters in one region, one owner for the pipeline, and a back end that is reachable from every cluster | One set of credentials or certificates for all clusters, so cluster identity must come from attributes added at the edge | One gateway outage stops telemetry from every cluster at once | Ingest limits per tenant, whether one endpoint can absorb peak bursts from all clusters, and how the back end handles retries |
| Per-cluster gateway | Many clusters that each need local buffering, separate upgrade windows, or isolation from other teams' pipelines | Each gateway authenticates to the back end with its own identity, which makes revocation per cluster possible | An outage affects only the cluster whose gateway fails, but each gateway adds components to run | Whether each cluster can have its own credential, how many ingest connections the back end allows, and how dashboards will group clusters |
| Regional gateway chain | Clusters spread across regions where cross-region links are expensive or restricted, with a regional aggregation layer | Identity is checked at each hop, so the regional gateway may need to vouch for clusters in its region | A regional failure is contained, but a fault in a shared upstream gateway still affects every region behind it | Which hop the back end trusts, whether regional gateways can hold data during a regional link outage, and where data residency rules apply |
| Direct export from agents | Few clusters with a small telemetry volume, or a short pilot before a gateway tier is justified | Each agent needs back-end credentials, so credential distribution and rotation spread across every node | A back-end or network issue hits every agent directly, with less local buffering | Credential lifecycle for node agents, expected connection counts, and whether the back end accepts traffic from every node network |
Cluster identity attributes every signal should carry
In a multi-cluster design, the central back end can only tell clusters apart if every trace, metric and log carries identity attributes. These cards cover which attributes to set, where to set them and how to keep their values stable, so the same cluster always appears under the same name.
Cluster name
Set a single, stable identifier for each cluster, for example through a resource attribute such as k8s.cluster.name. Confirm the exact key against the current OpenTelemetry semantic conventions before you write dashboards or routing rules against it. Treat this value as the primary join key for every signal from that cluster. Check that a cluster rebuilt with the same purpose gets the same name, and that two clusters never share one.
Environment and region
Carry the environment (for example production or staging) and the region or data residency zone as separate attributes. Region matters most for limiting cross-region traffic, because the gateway can route by it. Confirm the attribute names you adopt with your own platform team, and record the allowed values in a short written list so teams do not invent new spellings.
Tenant or business unit
If several teams or business units share a cluster, or one team owns several clusters, add a tenant attribute. This lets the back end separate access and retention by owner. Decide early whether tenant comes from the workload or from the cluster, because a value set in the wrong layer will drift. Confirm how your chosen back end maps this attribute to access controls.
Where each attribute is set
Attributes can be set in the SDK, in a node-level agent, or in a gateway with the resource processor. Setting them in the gateway gives one place to change values, but it cannot fix data that already left the cluster untagged. Setting them in agents or SDKs keeps identity close to the source. Check which layer owns each attribute, and write that decision into the pipeline configuration so it is reviewable.
Collector configurationStable names across rebuilds
Cluster names often come from infrastructure tooling, so a rebuild can silently change them. Keep identity values in version-controlled configuration rather than generated at runtime, and do not derive them from node names, which change when nodes are replaced. Test that a rebuilt cluster reports under its existing name before you retire the old one, and plan how historical series will be queried across the change.
Validate identity at the gateway
Add a check at the gateway that rejects or flags telemetry missing required identity attributes. Without this, an untagged cluster can send data that lands in a default bucket and goes unnoticed. Compare the attributes received per cluster against your written list after each change. Confirm the behavior of the processors you use for enforcement in the release you deploy, because component stability varies.
How authentication works between clusters and gateways
The first link carries telemetry from application pods and agents inside a cluster to that cluster's gateway. The callers are workloads, not people, so the usual pattern is to keep this link inside the cluster network and authenticate it with a credential the platform already manages. Collector receivers can require an authenticator extension, so a gateway can reject connections that do not present a valid credential rather than accepting anything that reaches the port.
- Network scope: Keep the gateway receiver reachable only from node and pod networks that need it, and avoid binding it to all interfaces.
- Workload identity: Decide whether pods present Kubernetes service account tokens, mutual TLS certificates or tokens issued by an identity provider.
- Authenticator extension: Confirm in the component README which authenticator extensions your Collector build includes and which receivers accept them.
- Build scope: Include only the extensions you need, since the security guidance recommends building with only needed components.
- Credential rotation: Plan how short-lived tokens or certificates are renewed for every workload that sends telemetry.
Confirm the exact configuration keys against the Collector version you run, because extension names and options change between releases.
The second link crosses cluster boundaries and often crosses regions or networks you do not fully control. The cluster gateway acts as a client here, so the relevant Collector mechanism is an authenticator extension on the outgoing side. The oauth2client extension can add credentials to exporter requests, for example by obtaining tokens from an identity provider, while the central gateway checks those requests with an inbound authenticator such as OIDC.
- Client credentials: Use a dedicated machine identity per cluster so each gateway can be revoked without affecting the others.
- Token lifetime: Confirm how the oauth2client extension refreshes tokens and what happens when the identity provider is unreachable.
- Transport encryption: Require TLS on this link and confirm certificate validation settings in the exporter configuration.
- Cluster identity: Pair the credential with a cluster identity attribute so the central gateway can tell which cluster sent each batch.
- Failure behavior: Test whether the cluster gateway buffers data while the central gateway rejects its credentials.
Verify with a test token that the central gateway rejects a cluster identity it has not been issued.
The third link carries telemetry from the central gateway to the storage or analysis back end. Authentication here depends on the back end's own API, which is outside the Collector's control. The central gateway is still the only component that holds these back-end credentials, so the design should keep them out of cluster gateways and out of application configuration.
- Back-end credentials: Store API keys, tokens or certificates in your secrets system and inject them at runtime rather than writing them into Collector configuration files.
- Exporter support: Check each exporter's README for the authentication options it supports, since they differ by back end.
- Least privilege: Grant the central gateway write-only access where the back end allows it, and separate read paths used by people.
- Configuration storage: Protect the Collector configuration as a sensitive file, with encryption and access control on the repository and cluster objects that hold it.
- Logging of credentials: Confirm that debug output and error messages do not print tokens.
Confirm with each back-end vendor which authentication methods its ingestion endpoint accepts before you finalize the design.
Separate from the telemetry path, engineers and automation still need access to the clusters that host the gateways. Kubernetes does not store normal users as API objects. It authenticates them through X.509 client certificates, bearer tokens including OpenID Connect and JWT, webhook token authentication or an authenticating proxy. Service accounts are the identity used by pods and by Kubernetes receivers that read cluster state, so their scope should be set deliberately.
- Human access: Connect cluster authentication to your identity provider with OpenID Connect so that access follows your existing groups and offboarding process.
- Service accounts: Give each gateway and receiver its own service account with only the read permissions its receivers need.
- Secrets exposure: Secrets are stored unencrypted in etcd by default, so configure encryption at rest and restrict list and watch access to them.
- Cluster-admin use: Keep break-glass credentials separate and audited.
- Pod security: Apply the Pod Security Standards level that the gateway pods can meet.
Check the authentication configuration of each cluster API server against your distribution's documentation, since the flags and supported methods vary by distribution.
Setting up the gateway chain step by step
This sequence takes a set of Kubernetes clusters from an inventory of regions and endpoints to a verified path where every signal arrives at the central back end with a consistent cluster identity, authenticated transport and region-aware routing. Each phase ends with a check your team can run before moving on.
Inventory clusters, regions and data paths
List every cluster, its cloud account or data center, its region, the signals it produces and the central back ends that must receive them. Note any data residency or network boundary that blocks a route, such as a cluster that cannot send telemetry outside its region. Owners are usually the platform team with input from the compliance lead. The step is done when the inventory has one row per cluster and each row names an allowed destination. Ask the partner or internal team to show the inventory against the network diagrams, since mismatches here cause most later rework.
Define the cluster identity schema
Write down the resource attributes every signal must carry, such as a cluster name, region, environment and owning team, with the allowed values and the naming rules for each. Decide which attribute is the authoritative cluster identifier and who may change it. Store the schema in version control next to the Collector configuration so reviews catch drift. The step is done when a sample span, metric and log from one cluster can be checked against the schema without ambiguity. Keep the attribute set small so that per-cluster values do not multiply series counts unnecessarily.
Deploy per-cluster gateways with bind addresses and TLS
In each cluster, deploy a gateway Collector that receives from the cluster's agents and exposes an endpoint to the central tier. Bind receivers to the address the traffic actually needs rather than leaving broad listeners open, and enable TLS on every listener that crosses a node or network boundary. Since Collector v0.110.0, server components bind to localhost by default, so any wider address must be an explicit decision in the configuration. The step is done when a test signal from an agent reaches the gateway over TLS and a port scan from outside the permitted network finds nothing unexpected.
Configure authenticated exporters between tiers
Configure each per-cluster gateway to authenticate to the central gateway or back end, using an authenticator extension such as oauth2client where the destination expects OAuth2 tokens, and configure the receiving side to validate incoming identity, for example with OIDC. Keep client secrets out of the configuration file by referencing a secrets store your organization already runs. Confirm the exact extension names and options against the Collector configuration documentation for the release you deploy. The step is done when a gateway with a deliberately wrong credential is rejected and the correct credential is accepted.
Add region-aware routing
Route each cluster's telemetry to a central back end in its permitted region, using separate exporters or pipelines keyed on the cluster identity attribute from step two. Where a signal must cross a region boundary, decide which fields are removed or redacted first and apply the redaction processor at that point. Document the routing table so that a change to a region becomes a reviewed configuration change. The step is done when a signal from a cluster in one region appears only in the back end designated for that region and nowhere else.
Verify identity tags and traffic paths
Send a known test signal from each cluster and trace its path through the agent, the gateway, the central tier and the back end. Confirm that the identity attributes match the schema exactly and that no signal arrives without them. Check the Collector's own internal telemetry for refused connections, failed exports and dropped data on each hop. Record the results as the baseline for the platform team. The step is done when every cluster's test signal shows the expected identity values, the expected route and no export errors, and the evidence is stored with the configuration.
Limiting cross-region telemetry traffic
Cross-region telemetry costs money and can move regulated data across a boundary you may have promised to keep closed. Every span, metric point and log line that leaves its home region crosses a network path that your cloud provider usually bills as data transfer, and it lands in a region where your data residency commitments may not hold. The fix starts at the regional gateway: each cluster group sends telemetry to a gateway in its own region, and only the gateway decides what crosses the boundary. In practice this means one OpenTelemetry Collector gateway per region, with the exporter for the central back end configured on that gateway and not on individual cluster agents. Agents in each cluster then export only to the local gateway, so a misconfigured workload exporter cannot send data across regions by accident.
Sampling and filtering before the boundary reduce what is billed and what is exposed. Put the filter processor, the transform processor with OTTL statements, and the redaction or attribute deletion steps on the regional gateway, ahead of the exporter that crosses the boundary. Decide which signals are needed centrally in full (for example, error traces and service-level metrics) and which should stay regional (for example, debug logs with high-cardinality fields). Head or tail sampling policies should be defined per signal and documented, because a dropped record cannot be recovered later. Confirm with your central back-end team which fields they actually query, since removing an attribute they depend on breaks dashboards silently.
Egress pricing must come from your cloud provider's current published terms for the regions and network paths you use, not from a general rule of thumb. Build your own estimate from measured telemetry volume per region, the share that crosses the boundary after filtering, and the number of exporter retries you expect, then check it against the provider's billing data after the first month. Ask your platform team to confirm which exporter endpoints are reached over private connectivity and which over the public internet, since that choice changes both the bill and the authentication requirements between clusters. Review the gateway exporter settings and the network policies on each gateway together, and record which regions are permitted to receive which data classes in writing before rollout.
Security and operational risks in the gateway layer
A central gateway receives telemetry from every cluster, so it becomes the place where exposed endpoints, stored credentials, cluster permissions and sensitive data converge. The cards below cover the risks that matter most in a multi-cluster design and the checks to run before and after each gateway goes live.
Exposed receivers and listeners
Every gateway receiver accepts data from other clusters, so an open listener is an open ingestion point. Since v0.110.0, Collector server components bind to localhost by default rather than 0.0.0.0. Confirm any override in your Helm values or Collector configuration, and check which receivers are reachable through the Kubernetes Service, Ingress or load balancer in front of each gateway. Restrict each listener to the source networks that actually send data.
Collector security practicesAuthentication on cluster-to-gateway traffic
Authenticator extensions can check incoming connections on receivers, for example with OIDC, and attach credentials to outgoing exporter requests. Decide which identity each cluster uses to reach the gateway and which identity the gateway uses to reach the back end. Without this, a cluster identity attribute is only a label that any sender can set. Test that a sender without valid credentials is rejected.
Collector configuration docsSecrets and configuration storage
Gateway configurations often hold exporter tokens, client secrets and TLS keys. Store them in a secrets system your cluster administrators already audit, not in plain ConfigMaps or Helm values committed to Git. Use encryption and authentication for the Collector configuration as the security guidance recommends. Kubernetes stores Secrets unencrypted in etcd by default, so confirm encryption at rest is enabled and restrict list and watch access to the gateway namespace.
Kubernetes Secrets practicesLeast-privilege RBAC for Kubernetes receivers
Kubernetes receivers that watch cluster objects, such as the Kubernetes objects or events receivers, need API permissions that a gateway cannot be given by default. Grant a dedicated service account only the verbs and resource types each receiver reads, scoped to namespaces where possible. Review the generated ClusterRole after each Helm change, since a broad role copied from an example can give read access to Secrets across the cluster.
Redaction of sensitive attributes
Telemetry from applications often carries tokens, email addresses, query strings or customer identifiers that must not reach a central back end shared by several teams or regions. Use the redaction processor to remove sensitive attributes before export, and drop whole fields in the gateway when they are never needed for analysis. Check redaction at the gateway, not only at the agent, because a misconfigured source cluster would otherwise send data unfiltered.
Collector security practicesCertificate, token and build hygiene
Plan rotation for TLS certificates and tokens used between clusters and gateways, with a documented owner and a tested reload path, so rotation does not require dropping telemetry. For upgrades, use Collector releases that ship signed artifacts, SHA256 checksums and SBOM files, and verify each one before deploying. Build only the components the gateway needs with the Collector Builder, so the attack surface and the SBOM stay small.
- Latest release cited
- v0.163.0
Questions teams ask before designing a multi-cluster gateway
How much effort does a multi-cluster OpenTelemetry gateway design take?
Effort depends mostly on how many clusters report, how many regions and back ends they send to, and how many trust boundaries the data crosses. The design work covers gateway placement per cluster or region, the cluster identity attributes every signal must carry, the authentication path between clusters and the central back ends, and the rules that keep data inside its home region. Each of these needs a written decision and a test. The work recurs after the first build because every new cluster, Collector release and back-end change touches the same configuration. Ask any partner to split the quote into design, build, verification and handover so you can see which parts you will own afterward.
Can our in-house team build a multi-cluster gateway without a partner?
A team that already runs Kubernetes, manages Collector configuration and has someone who understands OpenTelemetry pipelines can build it, provided the design decisions are made before the build starts. The skills that are hardest to staff are authentication between clusters, Collector security settings and back-end capacity planning, and those are where internal teams most often stall. Check three things honestly: whether someone owns the Collector configuration over time, whether the team can test failure modes such as a lost region link, and whether there is time to run the pilot without pressure to switch on production traffic early. A partner can cover any of these gaps as a fixed-scope piece, leaving your team with the configuration and runbooks.
What do our platform and security teams need to provide?
Platform teams provide cluster access, network paths between clusters and the central back ends, load balancer and DNS options, and a place to run the Collectors. Security teams provide the identity provider or certificate authority that will issue credentials, the rules for which data may leave a region, and sign-off on what gets stored and for how long. Both teams should agree on how Collector configuration is stored, who can change it and how secrets reach the pods. The OpenTelemetry Collector security guidance recommends encrypted and authenticated endpoints, removing sensitive attributes with the redaction processor and building only the components you need, so those choices belong in the design review, not after the first deployment.
How long does a pilot of a multi-cluster gateway run?
The pilot length is set by the scope you agree, not by a standard figure, so ask for a duration in the written scope rather than relying on a generic estimate. A useful pilot covers one source cluster and one back end first, then adds a second cluster in another region to test identity attributes and cross-region rules. It should include a deliberate failure, such as an expired credential or an unreachable gateway, and confirm that data is buffered or dropped as designed. Expect the pilot to take longer when security review of the authentication design or back-end access requests are on the critical path, because those depend on people outside the project.
How should we handle Kubernetes version skew across clusters?
The Kubernetes version skew policy says kube-apiserver must be upgraded one minor version at a time and kubelets may be up to three minor versions older than kube-apiserver, so your clusters will not all sit on one release. The gateway design should not depend on a single Kubernetes version. Keep the Collector deployment manifests, the k8sattributes permissions and the cluster identity attributes in one shared definition, and test each supported cluster version against it before rollout. The Kubernetes project maintains the three most recent minor releases, so check which versions your fleet runs against that list and plan upgrades so clusters do not fall outside support. Record the version of every cluster as a telemetry attribute so gaps are visible in your back end.
What should we ask a partner to include in a fixed-scope quote?
Ask for the written scope to list the clusters, regions and back ends in scope, the signals covered (traces, metrics, logs), the authentication method between clusters, and the cluster identity attributes to be added. Ask which artifacts you receive: Collector configuration, Helm or Operator manifests, runbooks, test results for the failure cases and a handover session. Ask what is excluded, such as back-end sizing, licensing of any commercial back end, or changes to application code. Confirm the acceptance criteria and retest approach, the support options after handover, and how changes to the agreed scope are priced. DeployOpen does not publish a price list, so the quote follows from this written scope.
What drives the ongoing cost of running the gateway?
Ongoing cost comes from three sources: the compute and network the Collectors use, the back-end storage and query capacity for the telemetry they send, and the people who maintain configuration as clusters and Collector releases change. The Collector project publishes new releases regularly, including signed artifacts and SBOM files, so someone must track upgrades and test them. Cross-region traffic is a separate cost in most clouds, which is why keeping data in its home region is a design decision with a budget effect. Ask any partner to separate one-time build work from recurring support, and to say whether upgrades and continuous testing are offered as a retainer.
How DeployOpen scopes and delivers multi-cluster telemetry
DeployOpen plans, builds, documents and supports multi-cluster OpenTelemetry gateway designs inside your own cloud accounts, data centers or air-gapped networks. Each engagement starts with a written scope that names the clusters, back ends, regions and identity systems involved, so the design matches how your organization actually routes and protects telemetry.
How we scope
- Inventory the clusters, regions, back ends and teams that will send or receive telemetry through each gateway.
- Record which cluster identity attributes, such as cluster name and environment, every signal must carry before it leaves a cluster.
- Agree in writing which regions may send data to which back ends, and which cross-region paths are out of scope.
- Confirm the Collector distribution, authentication method and certificate ownership with your security and platform teams before build starts.
How we build
- Deploy per-cluster Collector gateways with configuration managed as code in your own repositories and CI pipelines.
- Configure authentication between clusters and central gateways with the authenticator extensions your chosen Collector build includes.
- Test cluster identity tagging, redaction rules and regional routing against sample traffic before any production cutover.
- Build with only the Collector components the design needs, following the minimal-build practice in OpenTelemetry security guidance.
How we hand over
- Deliver architecture diagrams, configuration files, network rules and a runbook describing each gateway's role and failure behavior.
- Document the verification steps your team can repeat after upgrades, certificate rotation or a new cluster joins the design.
- Walk your platform and security engineers through the deployed setup and record open decisions and their owners.
- Provide evidence of controls, such as encryption settings and access rules, in a form your compliance team can review.
How we support
- Support is available as a retainer for Collector upgrades, configuration changes and new clusters added to the design.
- Retainers can include continuous testing of gateway authentication, access rules and regional routing as your estate changes.
- Confirm with DeployOpen during scoping which upgrade and response terms apply, since these are set in the written agreement.

