chart: structured-logging env + observability annotations#41
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 surfacesPOLYTOPE_ENVinto frontend / workers / BOBS containers alongside the downward-APIK8S_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.yaml—RUST_LOG=infodefault + 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
upstreamunder a different SHA, so the rebase againstupstreamleaves only the new observability commit.Related
Verification
helmfile -e bologna-dev syncclean.bologna-dps-devasmajh-dev; end-to-end log shape verified, includingenduser.id/enduser.realmpropagating through pods.