Skip to content

chart: structured-logging env + observability annotations#41

Merged
jameshawkes merged 1 commit into
upstreamfrom
majh/bobs-multi-replica-routing
May 18, 2026
Merged

chart: structured-logging env + observability annotations#41
jameshawkes merged 1 commit into
upstreamfrom
majh/bobs-multi-replica-routing

Conversation

@jameshawkes
Copy link
Copy Markdown

Summary

Wires the env contract consumed by the new polytope-server and bobs observability layers, plus pod annotations the Splunk / OpenSearch collectors expect to identify JSON-emitting pods.

What changes

  • templates/observability-env-configmap.yaml — shared configmap surfaces POLYTOPE_ENV into frontend / workers / BOBS containers alongside the downward-API K8S_NAMESPACE_NAME / K8S_POD_NAME.
  • templates/frontend-deployment.yaml, templates/worker-pool.yaml, charts/bobs/templates/statefulset.yaml — envFrom of the configmap, the two downward-API fields, and pod annotations for log-shape detection.
  • values.yaml, charts/bobs/values.yamlRUST_LOG=info default + toggles, no env-specific values.
  • charts/bobs-0.1.0.tgz — repackaged subchart.

Branch note

This branch was originally also carrying the multi-replica BOBS routing commit; that has since been merged into upstream under a different SHA, so the rebase against upstream leaves only the new observability commit.

Related

Verification

  • helmfile -e bologna-dev sync clean.
  • Live on bologna-dps-dev as majh-dev; end-to-end log shape verified, including enduser.id / enduser.realm propagating through pods.

Adds the env contract consumed by the new polytope-server and bobs
observability layers, plus annotations the splunk/opensearch collectors
expect to identify JSON-emitting pods.

- `templates/observability-env-configmap.yaml`: shared configmap with
  `POLYTOPE_ENV`, surfaced into frontend / workers / bobs containers
  alongside the existing `K8S_NAMESPACE_NAME` / `K8S_POD_NAME` downward
  API fields.
- `templates/frontend-deployment.yaml`,
  `templates/worker-pool.yaml`,
  `charts/bobs/templates/statefulset.yaml`: env wiring (envFrom of the
  configmap + the two downward-API fields) and pod annotations for log
  shape detection.
- `values.yaml`, `charts/bobs/values.yaml`: defaults (`RUST_LOG=info`)
  and toggles, no env-specific values.
- `charts/bobs-0.1.0.tgz`: repackaged subchart.

Layered on top of the bobs multi-replica routing branch so the dev
deployment matches what is live on bologna-dps-dev today.
@jameshawkes jameshawkes merged commit 44f57dd into upstream May 18, 2026
@jameshawkes jameshawkes deleted the majh/bobs-multi-replica-routing branch May 18, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant