When an OpenTelemetry Operator for Kubernetes setup makes sense
The OpenTelemetry Operator makes most sense for a platform team running several clusters or many services that must emit consistent telemetry. The Operator manages OpenTelemetry Collectors and automatic instrumentation as Kubernetes custom resources, so the desired state lives in manifests that your team can review, version and apply the same way it handles other cluster objects. If one or two services run in a single cluster and a single engineer already maintains the Collector configuration by hand, a Helm-based deployment or a plain Collector deployment may be enough, and the extra controller and its prerequisites may not pay back their operational cost.
OpenTelemetry is vendor-neutral and is not an observability backend. It generates, processes and exports traces, metrics and logs, but storage and visualization come from separate tools that you choose and run. The Collector, which the Operator deploys, is licensed under Apache-2.0 and can run as an agent next to workloads or as a gateway that accepts data from many sources. Before you adopt the Operator, decide which backend receives each signal, which Collector roles you need in each cluster, and whether a central gateway will be shared across teams. Those decisions drive the number and shape of custom resources you will manage.
Ask three questions before committing. First, how many clusters and teams will share one configuration standard, and who approves changes to it? Second, do you need the Target Allocator to spread Prometheus scraping across Collector replicas, or do you already run Prometheus and only need to forward its data? Third, will you enable automatic instrumentation for .NET, Java, Node.js, Python or Go, and do your application owners accept that a mutating webhook adds sidecar configuration to their pods? Each yes adds components that your platform team must install, upgrade and monitor.
Confirm the prerequisites and their support status with the current release notes before you plan the rollout, because the Operator depends on cert-manager for its webhook certificates. Check which Collector distribution and version your Operator release expects, and confirm how your organization will track upgrades across both the Operator and the Collector images it deploys. A useful first step is a single non-production cluster where you deploy the Operator, one Collector and one instrumented service, then review what the custom resources produce before you widen the scope.
Which Operator features fit which workloads
This table compares the Collector deployment modes, the Target Allocator and per-language auto-instrumentation the Operator offers. Read each row for the workload it fits, the operational cost it adds, and what to confirm in the current Operator documentation before relying on it.
| Feature | When it fits | Operational cost | Confirm before relying on it |
|---|---|---|---|
| Sidecar Collector | Per-pod isolation for a small number of workloads that need their own pipeline or tenant-specific processing | One Collector per pod adds resource overhead and config rollouts touch every pod that uses it | Sidecar injection annotations and how upgrades restart pods |
| DaemonSet Collector | Node-level collection of container logs, host metrics and node-local receivers | One agent per node, so node capacity and host access permissions need review | Required host mounts and privileges for the receivers you enable |
| Deployment (gateway) Collector | Central processing, sampling and export for many services or clusters | A stateful scaling and buffering point that needs its own sizing and monitoring | Horizontal scaling behavior and how the chosen exporters handle backpressure |
| Target Allocator | Prometheus scraping at scale where scrape targets must be spread across Collector replicas | Adds a component to run, and scrape configuration must be validated against the allocator's supported fields | Which Prometheus configuration keys and service monitor types the current release supports |
| Java auto-instrumentation | Java services where zero-code tracing is wanted and the agent version can be pinned | Agent versions must be managed per application and tested before rollout | Injected agent image version and supported framework list for your Java runtime |
| Node.js, Python and .NET auto-instrumentation | Services in these languages that need traces without code changes | Injection depends on runtime version and package layout, so each team must verify its own workloads | Per-language support status and signal maturity in the OpenTelemetry status page |
| Go auto-instrumentation | Go services that can accept the Operator's eBPF-based approach on supported kernels | Kernel, privilege and capability requirements add platform review work | Current Go support status, kernel prerequisites and the privileges the workload needs |
| cert-manager prerequisite | Any cluster where the Operator's admission webhooks must run with valid TLS | cert-manager is an extra component to install, certificate rotation to monitor and upgrades to sequence | Supported cert-manager versions and the webhook certificate setup in the Operator install guide |
Setting up the Operator on a cluster
This sequence takes a cluster from no telemetry tooling to one Collector, one Target Allocator and one opted-in workload, with a check at each stage so faults are found while the scope is still small. Each step builds on the one before, so a failed check tells you exactly which layer to fix.
Confirm cluster and access prerequisites
The platform team confirms the cluster version and distribution are supported by the Operator release you plan to install, that admin rights are available for custom resource definitions and webhook configuration, and that a test namespace exists with a named owner. Confirm the supported Kubernetes versions in the Operator's release notes rather than assuming them. The step is done when the team has a written record of cluster version, Operator release and the namespace used for testing.
Install cert-manager as a prerequisite
The Operator registers admission webhooks, and those webhooks need TLS certificates. Install cert-manager first so it can issue and rotate those certificates. Confirm that the cert-manager pods are running and that its webhook and controller deployments report ready before going further. If the Operator later fails to admit resources, check the webhook certificate status here before changing anything else.
Install the OpenTelemetry Operator
Install the Operator into its own namespace using the method your organization has approved, such as Helm or a reviewed manifest, and pin the version so upgrades are deliberate. Confirm that the Operator controller pod is ready, that the OpenTelemetryCollector custom resource definition exists, and that the admission webhook accepts a dry-run Collector resource. The step is done when the Operator logs show no webhook errors and the CRD is listed in the cluster.
Create a Collector resource in the test namespace
Apply an OpenTelemetryCollector resource in the test namespace with a minimal pipeline: an OTLP receiver, a batch processor and one exporter pointing at a backend your team has chosen for testing. Keep the first configuration small so every failure can be traced to one component. Confirm that the Collector pods are ready, and that the health check extension answers on its configured endpoint from inside the cluster.
Verify the Collector receives data
Send test telemetry to the Collector's OTLP endpoint from a simple test workload or a port-forwarded client, then look for it in the chosen backend. Check the Collector's own internal telemetry for receive and export counters, and confirm there are no export errors. Also confirm that the exporter's endpoint and any credentials are stored in Kubernetes secrets, not in plain text in the manifest. The step is done when test spans or metrics arrive in the backend and the Collector logs show successful exports.
Enable the Target Allocator for Prometheus scraping
Enable the Target Allocator on the Collector resource and define the Prometheus scrape configuration that the Collector should use. The Target Allocator distributes scrape targets across Collector instances, so the Collector needs the right service account and RBAC permissions to discover targets. Confirm that the Target Allocator pod is ready, that the Collector pods show assigned targets, and that a known metrics endpoint appears in the backend. If targets are missing, check RBAC and the selectors before editing the scrape configuration.
Opt one workload into auto-instrumentation
Choose one workload in the test namespace written in a language the Operator supports for auto-instrumentation, then add the instrumentation annotation that points to an Instrumentation resource. Keep the Instrumentation resource in the same namespace and point its exporter at the Collector service. Restart the workload, confirm its pods are ready, and check that spans from that workload appear in the backend with the expected service name. The step is done when one application's traces are visible end to end.
Record the working baseline before expanding
Before adding more namespaces or workloads, export the working Operator, Collector, Target Allocator and Instrumentation manifests into version control, and record the versions in use. Confirm that a restarted Collector pod reconnects and that the backend still shows data. This baseline is what the team will compare against when it upgrades the Operator or changes the Collector configuration later. The step is done when the manifests are reviewed, stored and tied to the tested versions.
How Operator-managed components connect in a cluster
The diagram starts with the workloads that emit telemetry and the Operator, which reconciles the OpenTelemetry Collector and Instrumentation custom resources into running pods. Instrumented workloads send OTLP to the Collector, and the Target Allocator hands Prometheus scrape targets to Collector pods. The Collector then exports to a self-hosted backend across the cluster boundary. Check the boundary first: anything that crosses it carries telemetry that may hold regulated data, so the exporter's authentication and TLS settings need review before go-live.
Operator-managed components in a cluster and the trust boundary to the backend.
Security and operational considerations to plan for
Operator-managed Collectors run inside your cluster and receive sensitive telemetry, so the configuration, network exposure, build contents and privileges need to be decided before rollout. The cards below cover the decisions that connect those areas and the checks to run on each.
Collector configuration and secrets
The Collector configuration in an OpenTelemetry Collector custom resource often holds backend endpoints, tokens and TLS settings. Keep credentials in Kubernetes Secrets or your external secret manager and reference them from the pipeline rather than writing values into the manifest. Check who can read the custom resource and the Secrets it references, because anyone with read access to the Collector spec can see how exporters authenticate. Treat the configuration as sensitive, not as plain deployment metadata.
Security best practicesLocalhost default and deliberate exposure
Since Collector v0.110.0, server components bind to localhost by default instead of 0.0.0.0. Any receiver your applications send to from other pods must be exposed on purpose, so review each receiver endpoint in the custom resource and the Kubernetes Service that fronts it. Limit exposure with NetworkPolicies so only the namespaces that send telemetry can reach the ports. Expose receivers one by one, with a named source for each.
Authenticating receivers and exporters
Authenticator extensions can check incoming connections on receivers, for example with OIDC, and add credentials to outgoing exporter requests, for example with the oauth2client extension. Decide which senders must authenticate, such as clients outside the cluster, and which can rely on network policy inside it. Confirm that your identity provider's token lifetimes and client rotation work with the Collector's refresh behavior before you go live. Authenticate every receiver that accepts traffic from outside the cluster.
Minimal images with the Collector Builder
The Collector Builder compiles a Collector from only the components your pipelines use, which reduces the code, dependencies and attack surface in the image. Start from a component list written from your pipeline design, and rebuild when you add a receiver or exporter. Compare this with the contrib distribution, which includes many components you may never run. Build the smallest image that carries your pipelines, and record the component list in version control.
Collector docsRedacting sensitive attributes
Telemetry often captures request headers, query strings, user identifiers and database statements that carry personal or regulated data. Use the redaction processor to remove or mask attributes before data leaves the Collector, and test the rules against sample spans and logs from each application. Agree the list of sensitive attribute names with the application teams, because new services often add fields the rules did not anticipate. Redact in the pipeline and in the source, and test both.
RBAC for the Operator and Target Allocator
The Operator watches custom resources and creates workloads, and the Target Allocator reads Prometheus scrape configuration and discovers targets across namespaces. Grant each component only the cluster roles it needs, and limit which namespaces it can read. Review who may create or edit OpenTelemetry Collector and Instrumentation resources, since those can change where data goes and which workloads get injected. Scope the Operator's and Target Allocator's permissions to the resources they actually manage.
Verifying what you deploy
Collector releases ship signed artifacts, SHA256 checksums and SBOM files. Verify signatures and checksums before you mirror an image or build from a release, and keep the SBOM with the build record so you can match installed components to known vulnerabilities. Pin image versions in the Operator configuration and record the digest that reached each cluster. Ask your vendor or internal platform team to confirm how they will notify you of Collector and Operator updates. Verify each artifact before it reaches a cluster, and keep the evidence.
Collector releasesQuestions teams ask before running the Operator
What drives the cost and effort of a Kubernetes OpenTelemetry rollout?
The main drivers are the number of clusters, the number of services and languages that need instrumentation, how many workloads need auto-instrumentation versus manual SDK work, and how many telemetry backends you connect. Cost also rises with the Collector topologies you choose, such as agents on every node plus a gateway tier, and with the Prometheus scrape targets the Target Allocator must handle. Work is split between your platform team, your application owners and any partner. Ask for a quote that lists each cluster, each workload group, each backend and each deliverable (manifests, runbooks, handover sessions) as separate line items. Setup is largely one-time, while Collector upgrades, certificate renewal and ongoing tuning recur.
How long does a first OpenTelemetry Operator rollout take?
The duration depends on scope: how many clusters are in play, whether you start with Collector deployment only or also add auto-instrumentation and Prometheus scraping, how many languages are involved, and how quickly cluster access, backend choices and workload owners are available. This page does not give a figure because none has been researched for this scope. Ask any provider for a timeline tied to a written scope with named phases, and ask which dependencies sit outside the provider's control, such as change windows and backend provisioning.
Can our in-house platform team run the Operator without a partner?
Often yes, if your team already operates Kubernetes, Helm or GitOps tooling and has someone comfortable with Collector configuration. The Operator adds custom resources, cert-manager as a prerequisite, and the Target Allocator, all of which need ownership after go-live. Teams usually struggle less with installation than with the ongoing parts: agreeing on attribute naming, deciding which workloads opt in to auto-instrumentation, and keeping Collector versions aligned with the Operator. Map those skills honestly before deciding. A partner can accelerate the first cluster and leave runbooks behind, but the operating model still has to live with your team.
What does the work need from our team?
Plan for four inputs before work starts:
- Cluster access, including permissions to install the Operator, cert-manager and custom resources in the target namespaces, plus a change process for production clusters.
- A backend decision for metrics, traces and logs, with credentials and network paths to each endpoint.
- Named workload owners who confirm which services will be instrumented, which languages they use and when they can restart pods.
- A decision-maker for naming conventions and retention, since those affect dashboards and cost later.
Ask the provider to confirm exactly what they need from each group and when, so delays are visible early.
How do upgrades affect Collectors and the Operator?
The Operator and the Collector images are versioned separately, so an upgrade has two moving parts that must stay compatible. Collector releases can change component stability, configuration keys and defaults, so each upgrade needs a review of the release notes and a test in a non-production cluster first. Collector releases ship with signed artifacts, SHA256 checksums and SBOM files, which your change process can verify. Upgrades to the Operator can also change the custom resource schema, and auto-instrumentation images follow the SDK versions in your applications. Plan a recurring upgrade cadence with a rollback path, and confirm with the provider how they test each combination.
Does OpenTelemetry replace our monitoring backend?
No. OpenTelemetry is an observability framework and toolkit for generating, exporting and collecting telemetry such as traces, metrics and logs. It is not an observability backend, so storage, querying, dashboards and alerting still come from a separate tool. On Kubernetes, the Operator deploys and manages the Collector that moves data to those tools. You keep your existing backend or choose a new one, and the Collector makes that choice easier to change later. Confirm the backend and its sizing as a separate decision in your scope.
Is the Operator ready for production security reviews?
Treat the Operator as one component to review, not as a finished control. OpenTelemetry's security guidance recommends storing Collector configuration securely, encrypting and authenticating connections, building only the components you need with the Collector Builder, and using the redaction processor to remove sensitive attributes. Since Collector v0.110.0, server components bind to localhost by default. Check component stability in each README, because mixed stability levels affect what you can rely on. Ask your security team to review RBAC, secrets handling and network policies before production.
How DeployOpen scopes and delivers an Operator rollout
DeployOpen plans, builds, documents and supports OpenTelemetry Operator deployments inside your own Kubernetes clusters and network. Each engagement starts with a written, fixed scope that names the clusters, namespaces, signals and workloads in play before any manifest is applied.
How we scope
- Inventory the clusters, namespaces and workloads that will emit or receive telemetry.
- Agree which signals, Collector roles and auto-instrumented languages are in the written scope.
- Confirm cert-manager, storage, network policy and ownership of each cluster before work starts.
How we build
- Install cert-manager and the Operator, then deploy Collector custom resources in agent or gateway roles.
- Configure Target Allocator scrape settings and opt-in auto-instrumentation for the agreed languages only.
- Test pipelines in a non-production cluster, check dropped data and resource limits, then promote changes.
How we hand over
- Deliver manifests, Helm values or GitOps repositories, with configuration kept under version control.
- Document each Collector role, instrumentation annotation, upgrade step and rollback procedure for your team.
- Walk your platform and application engineers through operations, and record verification results in the handover.
How we support
- Offer ongoing support, Operator and Collector upgrades and continuous testing as a retainer.
- Retest pipelines after cluster upgrades, Operator version changes and new auto-instrumented workloads.
- Keep the written scope current so changes to clusters or signals are priced and agreed before work.

