jaeger
A Jaeger Helm chart for Kubernetes
About this chart
Jaeger Helm Chart
⚠️ Experimental: This chart is under active development with no stability guarantees. Breaking changes may occur in minor versions.
Jaeger is a distributed tracing system. This chart deploys Jaeger v2 using a unified "All-In-One" architecture built on the OpenTelemetry Collector framework.
Changes in v4.2.0
This release is a refactor designed to simplify operation and configuration.
- Unified Architecture: All functionality (Collector, Query, Ingester) is now provided by a single "All-in-One" deployment.
- Configuration: Storage is configured via the
userconfig.extensions.jaeger_storagesection using native Jaeger/OTEL config syntax. - Cassandra Schema: Jaeger v2 handles schema creation internally. The legacy schema job has been removed.
- Service Consolidation: A single Service now exposes all ports (agent, collector, query).
- No provisioned storage: Dependency charts have been removed. The user must deploy them separately and configure connection using the Otel config Syntax https://github.com/jaegertracing/jaeger/blob/main/cmd/jaeger/config.yaml
Architecture
This chart uses the All-In-One deployment model.
- Single Binary: Runs as a
Deploymentscalable to multiple replicas. - Stateless: Can connect to external persistent storage (Elasticsearch, Cassandra) for production use.
- Default: Memory storage (ephemeral), suitable for testing.
- Scalable: Increase replica count to scale horizontally
Overriding the Jaeger Version
(chart only supports Jaever v2+)
You can customize the Jaeger image and tag using the following values:
jaeger:
image:
repository: jaegertracing/jaeger
tag: "2.2.0" # Override the default version
Or globally:
tag: "2.2.0" # Applies to all components
Installing the Chart
Add the Jaeger Tracing Helm repository:
helm repo add jaegertracing https://jaegertracing.github.io/helm-charts
To install a release named jaeger:
helm install jaeger jaegertracing/jaeger
Configuration
There are several examples of how to configure you can reference at:
https://github.com/jaegertracing/jaeger/tree/main/cmd/jaeger
1. In-Memory (Default)
Ideal for testing. No persistence.
helm install jaeger jaegertracing/jaeger
2. Elasticsearch / OpenSearch (Production Recommended)
This chart does not provision an ElasticSearch nor OpenSearch instance.
To use ElasticSearch / OpenSearch storage, you must provide your own ElasticSearch / OpenSearch instance and configure Jaeger via the native config syntax:
Elasticsearch example:
values.yaml
userconfig:
extensions:
jaeger_query:
storage:
traces: primary_store_elasticsearch
traces_archive: archive_store_elasticsearch
jaeger_storage:
backends:
primary_store_elasticsearch:
elasticsearch:
server_urls: ["http://my-elasticsearch-master:9200"]
auth:
basic:
username: elastic
password: changeme
archive_store_elasticsearch:
elasticsearch:
server_urls: ["http://my-elasticsearch-master:9200"]
auth:
basic:
username: elastic
password: changeme
exporters:
jaeger_storage_exporter:
trace_storage: primary_store_elasticsearch
Running Maintenance Jobs:
To run Index Cleaner or Rollover jobs, enable them.
They require configuration by adjusting storage.elasticsearch values. See that section in values.yaml for more details.
esIndexCleaner:
enabled: true
storage:
elasticsearch:
tls:
enabled: false
url: http://elasticsearch-master:9200
# user: elastic
# password: changeme
- es-rollover requires elasticsearch to be running BEFORE install so the hook job can run.
OpenSearch example:
values.yaml
userconfig:
extensions:
jaeger_query:
storage:
traces: primary_store_opensearch
traces_archive: archive_store_opensearch
jaeger_storage:
backends:
primary_store_opensearch:
opensearch:
server_urls: ["http://my-opensearch-master:9200"]
auth:
basic:
username: opensearch
password: changeme
archive_store_opensearch:
opensearch:
server_urls: ["http://my-opensearch-master:9200"]
auth:
basic:
username: opensearch
password: changeme
exporters:
jaeger_storage_exporter:
trace_storage: primary_store_opensearch
3. Cassandra
This chart does not provision a Cassandra cluster.
To use Cassandra storage, you must provide your own Cassandra instance and configure Jaeger via the native config syntax:
values.yaml Example:
storage:
type: cassandra
userconfig:
extensions:
jaeger_storage:
backends:
primary_store:
cassandra:
connection:
servers:
- cassandra-host
port: 9042
schema:
keyspace: jaeger_v1_test
Note: The legacy Cassandra schema job has been removed. Jaeger v2 handles schema creation internally.
4. Spark Dependencies
To run the Spark dependencies job (for dependency links graph) set spark.enabled=true
Below is an example of how to set overrides. Please see the values.yaml for more examples:
The values are populated under storage.elasticsearch, storage.opensearch and storage.casandra Please see comments in values.yaml for more details.
You must choose the storage type with storage.type=elasticsearch, storage.type=opensearch or storage.type=cassandra
spark:
enabled: true
extraEnv:
- name: ES_NODES_WAN_ONLY
value: "true"
For a full list of supported environment variables, see the Spark Dependencies README.
5. Query UI
To access the ui you can either:
- enable the ingress and fill at least one host
- enable the Gateway API HTTPRoute and attach it to an existing Gateway
- provide your own ingress
- or port forward
kubectl port-forward --namespace {{ .Release.Namespace }} $POD_NAME 16686:16686 --address 0.0.0.0and access at http://localhost:16686/
jaeger:
ingress:
enabled: true
hosts:
- <fill a host here>
Alternatively, expose the Query UI through the Gateway API. This requires the Gateway API CRDs and a Gateway to already exist in the cluster:
jaeger:
httproute:
enabled: true
parentRefs:
- name: <your-gateway-name>
namespace: <your-gateway-namespace>
hostnames:
- <fill a host here>
You can customize the UI by setting uiconfig. Please see the values.yaml for examples or https://github.com/jaegertracing/jaeger/tree/main/cmd/jaeger
OAuth2 Proxy Sidecar Authentication
You can secure access to the Query UI by deploying oauth2-proxy as a sidecar container alongside Jaeger. When jaeger.oAuthSidecar.enabled is true, query traffic sent to Service port 16686 (or through Ingress) is automatically forwarded to the OAuth2 Proxy sidecar (containerPort: 4180), which authenticates incoming requests before proxying them to http://127.0.0.1:16686.
jaeger:
oAuthSidecar:
enabled: true
image: quay.io/oauth2-proxy/oauth2-proxy:v7.15.5
containerPort: 4180
args:
- --config=/etc/oauth2-proxy/oauth2-proxy.cfg
- --upstream=http://127.0.0.1:16686
- --http-address=0.0.0.0:4180
extraConfigmapMounts:
- name: oauth2-proxy-config
mountPath: /etc/oauth2-proxy/oauth2-proxy.cfg
subPath: oauth2-proxy.cfg
configMap: jaeger-oauth2-proxy-config
readOnly: true
6. Health Probes
You can configure the Jaeger container's probes using jaeger.livenessProbe, jaeger.readinessProbe, and jaeger.startupProbe. See values.yaml for the defaults.
For slow startup, such as Badger recovery, configure a startup probe:
jaeger:
startupProbe:
httpGet:
path: /status
port: 13133
failureThreshold: 120
periodSeconds: 10
Configuring the Collector
The Jaeger v2 configuration is defined in userconfig using OpenTelemetry Collector syntax. You can override pipelines, receivers, and processors there.
userconfig:
service:
pipelines:
traces:
receivers: [otlp, jaeger, zipkin]
processors: [batch]
exporters: [jaeger_storage_exporter]
Ports
The unified Service exposes the following ports:
- Query UI: 16686, 16685 (gRPC)
- OTLP: 4317 (gRPC), 4318 (HTTP)
- Jaeger: 14250 (gRPC), 14268 (HTTP), 6831/6832 (UDP)
- Zipkin: 9411
- Prometheus: 8888 (HTTP), 8889 (HTTP)
- Additional ports may be added via jaeger.service.extraPorts override.
Deploy jaeger with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has jaeger on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartjaeger is pinned at v4.20.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply