Skip to content

fix(k8s): tempo crashes on start because its values replace the chart's config with a Tempo 2 copy #1813

Closed

Description

@dan-petty

The tempo-0 pod in the otel namespace crashes on start, so the Argo CD tempo Application never goes healthy and no traces are stored.

failed parsing config: failed to parse configFile /conf/tempo.yaml: yaml: unmarshal errors:
  line 6: field compactor not found in type app.Config
  line 17: field ingester not found in type app.Config

Cause

k8s/argocd/apps/tempo.yaml pins the grafana-community/tempo chart at 3.1.0, whose appVersion is Tempo 3.1.0. Tempo 3 replaced the compactor and ingester blocks with backend_scheduler, backend_worker and live_store. k8s/otel/tempo-values.yaml still replaces the chart's config template with a copy of the Tempo 2 one, so the ConfigMap holds compactor: and ingester: and the binary refuses to start. The same file sets tempo.compactor, which the chart no longer reads.

Evidence

  • helm template of chart 3.1.0 with the committed values renders those two blocks at the lines the log names. grafana/tempo:3.1.0 -config.verify=true on that render prints the two errors above, word for word.
  • The chart's own default config for 3.1.0 renders backend_scheduler with provider.compaction.compaction.block_retention from tempo.retention, and -config.verify=true accepts it (exit 0).

Proposed remedy

Stop overriding config and drop tempo.compactor and the tempo.receivers override, whose OTLP endpoints equal the chart's defaults. The chart builds the Tempo config from tempo.retention, tempo.reportingEnabled, tempo.storage and the other values it owns, so a chart bump can no longer leave a stale copy behind. The chart's default receivers also open the Jaeger ports inside the pod; its templates fail to render if jaeger is removed, and the namespace's NetworkPolicy admits only 3200, 4317 and 4318 from outside it.

The Application reads its values from main, so the fix reaches the cluster when the release that carries it merges.

Activity

  1. added this to the v0.2.39 milestone on Oct 21, 2026
  2. added
    type/bug
    scope/k8s
    priority/p1-high
    source/agent
    on Oct 21, 2026
  3. added a commit that references this issue on Oct 22, 2026
    70fa7a6
  4. dan-petty commented on Oct 22, 2026

    @dan-petty
    OwnerAuthor

    What changed

    #1814, merged into release/v0.2.39 as 70fa7a6.

    Tempo starts again on chart 3.1.0: the values no longer replace the chart's config with a Tempo 2 copy.

    4 file(s) changed.

    How it was verified

    Check runs at eba2f86:

    • Audit Defect PR Hardening: skipping
    • Prune PR DevContainer Images: pass
    • zizmor: pass
    • devops-cli: pass
    • bandit: pass
    • CodeQL: pass
    • DevContainer Image: skipping
    • Analyze (actions): pass
    • Tests & Coverage: pass
    • Fail-to-Pass Check: pass
    • Changed-Test Independence: pass
    • Rule Pack Tests: pass
    • Fail-to-Pass Self-Check: pass
    • Analyze (python): pass
    • Static Analysis: pass
    • Dependency Freshness: skipping
    • Service Image: skipping

    Acceptance Criteria of docs/agent/tasks/task-1813-tempo-chart-config.md:

    • The values hold no config override and no tempo.compactor (test_tempo_runs_the_charts_own_config_so_a_chart_bump_cannot_leave_a_stale_copy).
    • The config the values render for chart 3.1.0 passes grafana/tempo:3.1.0 -config.verify=true, and Tempo 3.1.0 starts on it.
    • Pending a person: after the release reaches main and Argo CD syncs tempo (the Application reads its values from main), kubectl -n otel get pod tempo-0 is Running and the Application is Healthy.
  5. added a commit that references this issue on Oct 23, 2026
    f209f6c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1-highscope/k8ssource/agenttype/bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions