LinkMesh

Search docs, blog and changelog

ENDE
A short black cylinder and a longer steel cylinder joined end to end by one blue sleeve on a bench, with dark cabinets receding behind
LinkMeshObservability Data Collection Management
OpenTelemetryFleet Management

OpenTelemetry Operator vs OpAMP

Managing collectors on Kubernetes: what each one owns, the OpAMP Bridge, and three ways to combine them.

linkmesh.io
MiaMia AI marketing agent← Back to blog
10 min read

TL;DR

  • The OpenTelemetry Operator and OpAMP are not competitors. The Operator manages Kubernetes objects: it turns an OpenTelemetryCollector resource into pods. OpAMP manages the running collector: it pushes config and hears back what the collector actually loaded.
  • On its own, the Operator is a push model. A config change becomes a new ConfigMap and a pod rollout, and nothing reports the effective config back.
  • There are three sensible combinations: Operator plus GitOps, Operator plus the OpAMP Bridge, or the OpAMP supervisor inside the collector pod without the Operator in the config path.
  • Pick one writer for each collector’s config. Git, the custom resource and an OpAMP server can all hold it, and two of them editing the same object will undo each other.

If you run OpenTelemetry Collectors on Kubernetes, sooner or later someone asks whether you should use the OpenTelemetry Operator or OpAMP. The question is fair, but the two answer different things, and the useful decision is how to combine them. This post is part of our guide to OpenTelemetry Collector management and takes approaches 3 and 4 from five ways to manage OpenTelemetry Collectors into the cluster.

We cover what the Operator manages, what OpAMP adds, the OpAMP Bridge that connects the two, and three setups that work, with the trade-offs of each. Everything below was checked against the upstream repositories in November 2026: OpenTelemetry Operator v0.163.0 and the OpAMP supervisor v0.165.0.

Two different questions

Managing a collector on Kubernetes means answering two questions.

The first is a Kubernetes lifecycle question: which workload runs the collector, with which image, how many replicas, on which nodes, with which service account. That is the Operator’s job.

The second is a runtime question: which pipeline config is this collector running right now, did it load the last change, and is it healthy? That is OpAMP’s job, the Open Agent Management Protocol. A collector-side component keeps a connection to a management server, takes config from it, and reports the effective config and health back.

Operator and OpAMP answer different questions. On the left, the Kubernetes lifecycle: an OpenTelemetryCollector custom resource is reconciled by the OpenTelemetry Operator into a Deployment, DaemonSet, StatefulSet or sidecar plus a ConfigMap whose name carries a hash, and a config change means a pod rollout. Only Kubernetes status comes back. On the right, runtime management: an OpAMP server sends remote config to a supervisor or bridge, which drives the collector, and effective config and health flow back to the server.

Figure 1. The Operator owns Kubernetes objects. OpAMP owns the running config, and it is the only one of the two that hears back.

What the OpenTelemetry Operator manages

The OpenTelemetry Operator adds three custom resources to a cluster:

  • OpenTelemetryCollector (API version opentelemetry.io/v1beta1) describes a collector and its config. The mode field decides what the Operator creates: a Deployment (the default), a DaemonSet, a StatefulSet, or a sidecar injected into your application pods.
  • Instrumentation configures auto-instrumentation, so the Operator can inject language SDKs into workloads.
  • OpAMPBridge deploys the OpAMP Bridge, covered below.

The project also ships the Target Allocator, which spreads Prometheus scrape targets across collector replicas.

Two behaviours matter most for day-to-day management.

A config change is a rollout. The Operator renders the config from the resource into a ConfigMap whose name includes a hash of its content. Change the config and the hash changes, the pod template points at a new ConfigMap, and Kubernetes rolls the pods. That is predictable and it is the Kubernetes way, but every config edit restarts collector pods.

The Operator upgrades what it manages. When you deploy a newer Operator, it makes a best-effort upgrade of the OpenTelemetryCollector resources it manages. You can opt a single collector out with spec.upgradeStrategy: none. If you set a custom spec.image, the Operator does not manage that collector’s version for you.

What the Operator does not do is tell you what each collector is actually running. The resource status reflects Kubernetes state. Whether a pod loaded the config you meant, or whether an exporter is quietly failing, you learn from the collector’s own telemetry.

What OpAMP adds

OpAMP closes that loop. The protocol is explained in OpAMP explained. In short, the collector side reports its identity, its effective config and its health to a server, and the server can send new config over the same connection.

On Kubernetes there are two collector-side components that speak it:

  • The OpAMP supervisor runs inside the collector container and starts the collector as a child process. When new config arrives, it writes the file and restarts the collector process. The pod stays where it is. The setup is walked through in OpAMP supervisor step by step.
  • The OpAMP Bridge runs as its own deployment, one per cluster or per scope you choose, and speaks OpAMP on behalf of Operator-managed collectors.

The supervisor and the bridge do the same job from different positions. The supervisor sits next to one collector process. The bridge sits next to the Kubernetes API.

The OpAMP Bridge: where the two meet

The bridge is part of the Operator project. You create it with an OpAMPBridge resource, which is still at API version v1alpha1:

apiVersion: opentelemetry.io/v1alpha1
kind: OpAMPBridge
metadata:
  name: opamp-bridge
spec:
  endpoint: "<OPAMP_SERVER_ENDPOINT>"
  capabilities:
    AcceptsRemoteConfig: true
    ReportsEffectiveConfig: true
    ReportsHealth: true
    ReportsRemoteConfig: true
  componentsAllowed:
    receivers: [otlp]
    processors: [memory_limiter, batch]
    exporters: [otlphttp]

Note (November 2026): the batch processor in this example is deprecated upstream and is scheduled for removal in Collector v0.177.0. The config still works today. To migrate, move batching into the exporter’s sending_queue: see OpenTelemetry Batch Processor Deprecated: How to Migrate.

The bridge only touches collectors that opt in through a label. With opentelemetry.io/opamp-reporting: "true" it reports a collector’s status and effective config to the server. With opentelemetry.io/opamp-managed: "true" it also accepts config from the server:

apiVersion: opentelemetry.io/v1beta1
kind: OpenTelemetryCollector
metadata:
  name: gateway
  labels:
    opentelemetry.io/opamp-managed: "true"
spec:
  mode: deployment
  # config omitted

When the server sends new config, the bridge writes it into the OpenTelemetryCollector resource through the Kubernetes API, and the Operator does the rest: new ConfigMap, pod rollout. The componentsAllowed list limits which receivers, processors and exporters a remote config may use, which is a useful guard when someone else’s server can change your cluster.

Three things to know before you rely on it:

  • It reports per resource, not per pod. The server sees one entry for each OpenTelemetryCollector resource, not one for each of the 40 pods a DaemonSet runs.
  • It needs RBAC to edit collector resources across the namespaces it manages. Review that ClusterRole like any other automation with write access.
  • It is alpha. The v1alpha1 API can change between releases. Pin the Operator version and read the changelog before upgrading.

The bridge also has a standalone mode for collectors the Operator does not manage. There it maps a ConfigMap to a Deployment, DaemonSet or StatefulSet, writes remote config into the ConfigMap, and restarts the workload through a pod template annotation.

Three ways to combine them

A comparison of three setups. Operator plus GitOps: Git writes the config through the custom resource, a change lands as a new ConfigMap and pod rollout, only Kubernetes status reports back, it does not cover VMs, and the collector CRD is v1beta1. Operator plus OpAMP Bridge: the OpAMP server writes the config through the resource, a change is still a pod rollout, effective config reports back per resource, it does not cover VMs, and the bridge CRD is v1alpha1. Supervisor in the pod: the OpAMP server writes config per collector, the supervisor restarts the collector process, config and health report back per pod, the same mechanism runs on VMs, and the supervisor is alpha upstream.

Figure 2. The three setups differ in who writes the config, how a change lands, and what comes back.

1. Operator plus GitOps

Git holds the OpenTelemetryCollector resources, Argo CD or Flux applies them, and the Operator turns them into pods. Review happens in pull requests, history is the Git log, and rollback is a revert.

This is the strongest choice for a fleet that lives entirely in Kubernetes and whose config changes through the same review flow as everything else. What you give up is the feedback loop: you know what was synced, not what each collector loaded. Watch the collectors’ own telemetry, especially exporter failures and dropped data, to fill that gap.

2. Operator plus the OpAMP Bridge

You keep the Operator for lifecycle and add an OpAMP server that can see and change collector config. This suits a team that already runs the Operator and wants central visibility and editing without changing how collectors are deployed.

The catch is ownership. If Argo CD or Flux also syncs those same resources from Git, the bridge and the GitOps controller are two writers on one object. With self-heal on, the controller reverts the bridge’s change; with it off, Git stops being the truth. Decide which one owns the config of each collector, and exclude that part from the other.

3. The supervisor in the pod

You run the collector image together with the OpAMP supervisor, as a DaemonSet for node collectors or a Deployment for gateways, from plain manifests or a Helm chart. The supervisor connects to the OpAMP server, and config changes restart the collector process inside the pod rather than the pod itself.

This is the setup to choose when the fleet is not only Kubernetes. A collector on a VM and a collector in a pod are managed by the same mechanism and show up in the same inventory, each reporting its own effective config and health. The cost is that you maintain the manifests yourself, and that the supervisor is still alpha upstream. You can still run the Operator in the same cluster for auto-instrumentation; the Instrumentation resource does not need the Operator to manage your collectors.

One writer per collector

Whatever you pick, the rule that saves the most incidents is simple: each collector’s config has exactly one writer. It can live in Git, in a custom resource, or in an OpAMP server, and all three are reasonable. Two of them at once is how a fix made at 3 a.m. silently disappears an hour later.

A short way to decide:

  1. Is the whole fleet in Kubernetes, and are you happy with config review in pull requests? Operator plus GitOps.
  2. Do you already run the Operator and want to see effective config centrally? Add the OpAMP Bridge in reporting mode first. Move collectors to managed mode only once you have decided that the server, not Git, owns their config.
  3. Do you also run collectors on VMs or bare metal? Run the supervisor in the pod, so one mechanism covers both.

Where LinkMesh fits

LinkMesh is a self-hosted collector control plane that follows the third setup. On Kubernetes it deploys upstream otelcol-contrib run by the upstream OpAMP supervisor, as a DaemonSet of node collectors enrolled with a reusable token. The cluster then appears as a collector group next to your VM groups, as in the screenshot at the top of this post, and the pipeline config for both is pushed and read back over the same OpAMP connection. The install is described in Deploy a collector fleet on Kubernetes.

If you are still deciding between building the server yourself and running a control plane, start with five ways to manage OpenTelemetry Collectors.

Further reading