Skip to content

About

Configuration and operations for the public hosted Jaeger demos

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Jaeger hosted demos

Configuration and operations for the public Jaeger demos on the existing Oracle Kubernetes Engine (OKE) cluster. Jaeger and HotROD source, image publishing, product releases and integration tests remain in jaegertracing/jaeger.

The daily 13:00 UTC job covers both Jaeger stacks, OpenSearch and Dashboards, the OTel sample application, and OCI monitoring. It runs the same workflow job and deploy.py as a manual deployment, without a reviewer, and only while the DEMO_SCHEDULE_ENABLED repository variable is true. It runs the Helmfile engine instead only while the DEMO_DEPLOY_ENGINE repository variable is helmfile, and deploy.py refuses to run once a demo-resources companion release is installed. For current migration status and handover evidence, see docs/MIGRATION.md. Schedule activation is tracked in the handover runbook.

Public endpoints

URL Stack Backing service Storage
https://demo.jaegertracing.io/jaeger OCI Jaeger query UI In-memory
https://demo.jaegertracing.io/grafana OCI Grafana (Prometheus stack) Prometheus
https://demo.jaegertracing.io/hotrod OCI HotROD sample application In-memory traces in Jaeger
https://demo.jaegertracing.io/ OCI Permanent redirect to https://www.jaegertracing.io/demo/ None
https://jaeger.demo.jaegertracing.io OTel Jaeger query UI Traces in OpenSearch
https://hotrod.demo.jaegertracing.io OTel HotROD sample application Traces in OpenSearch (via Jaeger)
https://opensearch.demo.jaegertracing.io OTel OpenSearch Dashboards, read-only for visitors (no login) OpenSearch
https://shop.demo.jaegertracing.io OTel OpenTelemetry Demo storefront (frontend-proxy) Traces in OpenSearch (via Jaeger); shop data stays in the demo's own PostgreSQL and Valkey

Routes are defined in examples/oci/ingress.yaml, ingress-jaeger.yaml, ingress-opensearch.yaml and ingress-otel-demo.yaml.

Architecture and ownership

Stack Namespace Application releases Configuration
OCI, memory storage and HotROD default jaeger, prometheus examples/oci
OTel, OpenSearch storage jaeger jaeger examples/otel-demo
OTel storage and dashboards opensearch opensearch, opensearch-dashboards examples/otel-demo
OTel sample application otel-demo otel-demo examples/otel-demo

The first diagram maps each public route through the ingress to its namespace and Helm release. Routes and TLS issuers come from the Ingress manifests listed above.

flowchart LR
    visitors(("Visitors"))
    redirect["https#58;//www#46;jaegertracing#46;io/demo/"]

    subgraph cluster["OKE cluster (externally owned)"]
        certs["cert-manager and letsencrypt-prod issuers<br/>(externally owned)"]
        ingress["Ingress controller, class nginx<br/>(externally owned)"]

        subgraph ns_default["namespace default"]
            oci_jaeger["Jaeger query<br/>release jaeger"]
            oci_hotrod["HotROD<br/>release jaeger"]
            grafana["Grafana<br/>release prometheus"]
        end

        subgraph ns_jaeger["namespace jaeger"]
            otel_jaeger["Jaeger query<br/>release jaeger"]
            otel_hotrod["HotROD<br/>release jaeger"]
        end

        subgraph ns_opensearch["namespace opensearch"]
            dashboards["OpenSearch Dashboards<br/>release opensearch-dashboards"]
        end

        subgraph ns_otel_demo["namespace otel-demo"]
            shop["frontend-proxy<br/>release otel-demo"]
        end
    end

    visitors -- "HTTPS" --> ingress
    certs -. "TLS certificates" .-> ingress
    ingress -- "demo.jaegertracing.io/jaeger" --> oci_jaeger
    ingress -- "demo.jaegertracing.io/hotrod" --> oci_hotrod
    ingress -- "demo.jaegertracing.io/grafana" --> grafana
    ingress -. "demo.jaegertracing.io/ permanent redirect" .-> redirect
    ingress -- "jaeger.demo.jaegertracing.io" --> otel_jaeger
    ingress -- "hotrod.demo.jaegertracing.io" --> otel_hotrod
    ingress -- "opensearch.demo.jaegertracing.io" --> dashboards
    ingress -- "shop.demo.jaegertracing.io" --> shop
Loading

The second diagram follows the traces. Thick arrows carry traces and dotted arrows carry metrics and alerts. Nodes are labelled namespace/release. Endpoints come from both jaeger-values.yaml files, config.yaml, monitoring-values.yaml, jaeger-config.yaml, otel-demo-values.yaml, opensearch-values.yaml, opensearch-dashboard-values.yaml and the two load generators, which are supplemental manifests outside the Helm releases.

flowchart TB
    subgraph oci["OCI stack"]
        direction LR
        oci_gen["Load generator<br/>default"]
        oci_hotrod["HotROD<br/>default/jaeger"]
        oci_jaeger["Jaeger, traces in memory<br/>default/jaeger"]
        prometheus["Prometheus<br/>default/prometheus"]
        alertmanager["Alertmanager<br/>default/prometheus"]
        oci_gen -- "HTTP /hotrod/dispatch" --> oci_hotrod
        oci_hotrod == "OTLP HTTP :4318" ==> oci_jaeger
        prometheus -. "scrapes span metrics :8889" .-> oci_jaeger
        oci_jaeger -. "SPM queries :9090" .-> prometheus
        prometheus -. "OpenSearch disk alerts" .-> alertmanager
    end

    subgraph otel["OTel stack"]
        direction LR
        otel_gen["Load generator<br/>jaeger"]
        otel_hotrod["HotROD<br/>jaeger/jaeger"]
        shop["OpenTelemetry Demo collector<br/>otel-demo/otel-demo"]
        otel_jaeger["Jaeger<br/>jaeger/jaeger"]
        opensearch[("OpenSearch<br/>opensearch/opensearch")]
        dashboards["OpenSearch Dashboards<br/>opensearch/opensearch-dashboards"]
        otel_gen -- "HTTP /dispatch" --> otel_hotrod
        otel_hotrod == "OTLP HTTP :4318" ==> otel_jaeger
        shop == "OTLP gRPC :4317" ==> otel_jaeger
        visitor(["Visitor, no login"])
        otel_jaeger == "jaeger-main indices,<br/>as user jaeger" ==> opensearch
        visitor -- "HTTPS, anonymous session" --> dashboards
        dashboards -- "visitor queries as the<br/>read-only anonymous user" --> opensearch
        dashboards -- "saved objects, as kibanaserver<br/>and workspace-bootstrap" --> opensearch
    end

    slack["Slack #jaeger-operations"]
    opensearch -. "data volume use,<br/>kubelet volume stats" .-> prometheus
    alertmanager -. "notify=slack only" .-> slack
    oci ~~~ otel
Loading

The deployment workflow uses scripts/demo/deploy.py to select changed components and invoke the stack scripts. The same job can instead run the Helmfile engine, scripts/demo/helmfile_deploy.py, which reconciles all ten Helmfile releases, OCI before OTel. A scheduled run selects it only while the DEMO_DEPLOY_ENGINE repository variable is helmfile. A manual run selects it unless its engine input is set to scripts (Helmfile engine). Once Helmfile owns a namespace's supplemental objects through a demo-resources companion release, deploy.py refuses to run, before any write, and names the namespace (the engine switch). The snapshot resolver selects Jaeger and HotROD images independently from upstream core commits. This repository's commit identifies configuration, never a product image.

One job, deploy in ci-deploy-demo.yml, serves both triggers on main. A maintainer's dispatch waits for a demo-apply reviewer. The 13:00 UTC schedule uses demo-scheduled, which has no reviewer, and runs only while the DEMO_SCHEDULE_ENABLED repository variable is true. Before any cluster change the job checks that its credential holds the role in ops/rbac/deployer.yaml (deployer access), and the stack scripts install charts only from archives that match scripts/demo/chart-archives.lock.json. Only the steps that configure cluster access or call the cluster receive the OCI API key, and the OCI CLI is installed before them from files that match scripts/demo/oci-cli-hashes.txt (where the workflows use the API key). The deployment, trace-reset and volume-expansion workflows share one concurrency group, so one of them runs at a time.

flowchart TB
    subgraph job["ci-deploy-demo.yml, job deploy, on main"]
        dispatch["workflow_dispatch"] --> apply_env["Environment demo-apply<br/>reviewer approval"]
        schedule["schedule, 13:00 UTC<br/>while DEMO_SCHEDULE_ENABLED is true"] --> scheduled_env["Environment demo-scheduled<br/>no reviewer"]
        apply_env --> access["deployer_access.py check --self<br/>against ops/rbac/deployer.yaml"]
        scheduled_env --> access
        access -- "role complete" --> engine{"DEPLOY_ENGINE"}
        engine -- "scripts" --> guard{"deploy.py: helm list per namespace<br/>is a demo-resources release installed?"}
        guard -- "yes, in any namespace" --> refused["Refused before any write<br/>the error names the namespace"]
        guard -- "no" --> reconcile["deploy.py selects components<br/>and runs the stack scripts"]
        reconcile --> otel["OTel: opensearch, opensearch-dashboards,<br/>jaeger/jaeger, otel-demo<br/>(an OpenSearch failure blocks the other two)"]
        otel -- "then, not gated on OTel" --> oci["OCI: default/jaeger, default/prometheus"]
        engine -- "helmfile (manual default)" --> helmfile["helmfile_deploy.py reconcile<br/>helmfile.yaml and helmfile-resources.yaml.gotmpl"]
        helmfile --> hf_oci["OCI: default/prometheus, default/jaeger,<br/>default/demo-resources, then OCI checks"]
        hf_oci -- "only after the OCI checks pass" --> hf_otel["OTel: four application releases,<br/>three demo-resources, then OTel checks"]
        hf_otel --> record["deploy-record.json artifact, 90 days"]
    end

    state[("ConfigMap<br/>default/jaeger-demo-deployment-revisions")]
    writers["ci-opensearch-reset.yml<br/>ci-opensearch-volume-expand.yml<br/>environment demo-apply"]
    group{{"Concurrency group<br/>jaeger-otel-demo-opensearch-recovery"}}
    slack["Slack #jaeger-operations"]
    observer["demo-run-observer.yml<br/>runs that ended before any job started"]
    variable["Repository variable DEMO_DEPLOY_ENGINE<br/>or the manual engine input"]

    variable -. "selects" .-> engine
    reconcile -. "reads fingerprints,<br/>records each success" .-> state
    helmfile -. "records the fingerprints<br/>of each verified stack" .-> state
    job -. "one writer at a time" .- group
    writers -. "one writer at a time" .- group
    job -- "failed, cancelled or timed out" --> slack
    job -. "completed run" .-> observer
    observer --> slack

Loading

A scheduled run upgrades existing releases in place only and installs none. What it selects depends on the engine. The scripts engine selects both Jaeger components every day, to refresh the snapshot images, plus every component whose fingerprint differs from its key in the ConfigMap. The Helmfile engine selects nothing by fingerprint: every run applies all ten releases, OCI before OTel. helm diff decides which deployed releases change, and a failed release is synced even when its diff is empty (daily component updates). The DEMO_DEPLOY_ENGINE repository variable selects the engine for scheduled runs and the engine input, which defaults to helmfile, for manual ones. A scheduled run without the variable runs the scripts. The Helmfile engine is also tested locally and in PR CI, including a kind rehearsal as the deployer, and the adoption runbook covers moving the releases to it. Which engine the hosted demo runs is recorded in the migration plan.

Existing namespaces, release names, routes, Service addresses and PVCs are preserved. Certificate issuers and the shared cluster, ingress controller and cert-manager are externally owned. Their installation examples are retained as history; they are not migration instructions. Cluster provisioning, DNS changes and AI activation are outside this migration.

Development

Local checks need Bash, Git, jq, Helm, ShellCheck, actionlint, shunit2, ruff and Python 3.9 or later with PyYAML, installed from the pin in oci-cli-constraints.txt. The tests use mocks and render public Helm charts without production credentials. Chart rendering requires network access.

CONTRIBUTING.md has the install commands, the shunit2 checkout, make lint, make test and make check, plus credential-free Renovate discovery, DCO, issues and required checks. AGENTS.md covers agent work.

Operations and releases

Use the handover and release runbooks for the existing installation. Do not run historical installation, clean or cleanup commands merely to complete the migration. Every OpenSearch upgrade preserves its existing PVC and verifies new trace ingestion and query. Generated trace history is disposable: the backup and restore tooling and the recovery gate are removed, and volume expansion remains (OpenSearch storage maintenance). A manual, reviewer-approved workflow with a typed acknowledgment resets the stored traces without touching the volume.

Extraction provenance

Imported from upstream main at bcef01d0c848d5be0416c2eee117d5d306416dd7. The filtered history retains 55 authored commits and the new repository's seed history. See extraction.md for the path list, commit mapping, minimal adapters and verification. Merge the extraction PR with a merge commit; squashing would remove the imported ancestry from main.

To rehome

Open core PRs touching imported paths at the cutoff are listed below. Rehome only hosted-demo changes after coordinating the original review; this list does not approve or merge their proposed behavior. The analytics change #10141 was already merged and is included in the cutoff.

Core PR Relevant work
#10131 Bounded AI assistant; activation remains outside migration scope
#10174 Routine disposable-trace policy for the hosted schedule is implemented in demo #15. The manual recovery path it kept was later removed (demo #76).
#10180 Manual restore Pod startup, rehomed in demo #14 and later removed with the recovery tooling
#10031 Grafana probes and demo smoke checks
#10172 Ported the recovery API helpers and their regression tests, later removed with the recovery tooling (demo #76).
#10155 Hosted configuration portions of the batch migration; core configuration stays in core
#9149 Inspect only its ci-deploy-demo.yml hunk; the critical-path work stays in core

About

Configuration and operations for the public hosted Jaeger demos

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages