Assign tracing-related environment variables in Kubernetes

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Nathan Sobo 2022-04-28 08:48:57 -06:00
parent 6ef2d0fbec
commit dc28305c9f
3 changed files with 11 additions and 0 deletions

View file

@ -1 +1,2 @@
ZED_ENVIRONMENT=production
TRACE_LEVEL=debug

View file

@ -1 +1,2 @@
ZED_ENVIRONMENT=staging
TRACE_LEVEL=debug

View file

@ -85,6 +85,15 @@ spec:
value: "1"
- name: RUST_LOG
value: "trace"
- name: TRACE_LEVEL
value: ${TRACE_LEVEL}
- name: HONEYCOMB_DATASET
value: "collab"
- name: HONEYCOMB_API_KEY
valueFrom:
secretKeyRef:
name: honeycomb
key: apiKey
securityContext:
capabilities:
# FIXME - Switch to the more restrictive `PERFMON` capability.