Skip to main content

OpenTelemetry Operator

Kubernetes operator for managing OpenTelemetry Collectors and auto-instrumentation.

About

The OpenTelemetry Operator manages the lifecycle of OpenTelemetryCollector and Instrumentation custom resources. It deploys and configures OpenTelemetry Collector instances in various modes (DaemonSet, Deployment, Sidecar) and handles auto-instrumentation injection for supported languages. It is used in this cluster to centralize observability pipeline configuration, collecting traces, metrics, and logs from workloads and forwarding them to backends.

AlternativeTo

Self Hosted

ToolOpen SourceFull FeaturesNotes
Grafana AlloyYesYesOTel-compatible collector; Grafana-native
VectorYesYesHigh-performance data pipeline; no k8s operator
Fluent OperatorYesYesManages Fluentd/Fluent Bit via CRDs

Installation

Architecture

HelmRelease otel-operator in namespace otel-operator, chart opentelemetry-operator version 0.109.0 from https://open-telemetry.github.io/opentelemetry-helm-charts. Admission webhooks enabled with cert-manager integration. Default collector image: otel/opentelemetry-collector-k8s. ClusterRole created for cluster-wide access. Installs OpenTelemetryCollector and Instrumentation CRDs.

Security

Manager securityContext: allowPrivilegeEscalation: false, capabilities: drop: ALL, readOnlyRootFilesystem: true, seccompProfile: RuntimeDefault. Pod securityContext: runAsNonRoot: true, runAsUser/Group/fsGroup: 65532. Admission webhooks use cert-manager for TLS. RBAC is cluster-wide (operator manages Collector pods in any namespace).

Updates

Managed by Renovate. Chart version is semver-pinned (0.109.0).

Administration

Usage

Operators deploy OpenTelemetryCollector resources to create collector instances in Deployment or DaemonSet mode. Collectors are configured with pipelines (receivers → processors → exporters) to route telemetry to Prometheus, Loki, Tempo, or other backends. Instrumentation resources enable automatic trace injection into pods via sidecar or init-container patterns without changing application code.

Metadata

Kubernetes Metadata
  • HelmRelease: opentelemetry-operator@0.109.2