Kubernetes Integration
Deployment pattern with Secrets and ConfigMaps
Install
Use templates from sdk/integrations/k8s.
Configuration
- Secret
obtrace-sdkwithOBTRACE_API_KEY - ConfigMap
obtrace-sdk-configwith ingest URL and tenant/project IDs
Quick start
- Apply Secret and ConfigMap.
- Inject variables in your deployment.
- Initialize SDK during app bootstrap.
Production hardening
- Rotate keys with controlled rollout.
- Segment keys by namespace/project.
- Keep readiness/liveness probes.
- Validate ingestion after deployment.
Troubleshooting
- No telemetry: validate env injection and network policy.
429: verify tenant/project quotas.- High latency: tune flush interval and network path.