elsa-core/scripts/k8s/trace-lens/deployment.yaml
Sipke Schoorstra adf36927dc Update Docker and k8s configs, enhance OTEL tracing
Updated `docker-compose-datadog.yml` with new environment variables and updated image versions, enhancing trace sampling and service autodiscovery. Added Kubernetes deployment, service, and role files for `elsa-server`, `elsa-studio`, `plant-uml`, `postgres`, and `trace-lens`, improving the project's infrastructure. Enhanced OpenTelemetry middleware for better error handling and detailed tracing of activity and workflow executions.
2024-09-23 23:35:30 +02:00

26 lines
697 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: tracelens-deployment
spec:
replicas: 1
selector:
matchLabels:
app: trace-lens
template:
metadata:
labels:
app: trace-lens
spec:
containers:
- name: trace-lens
imagePullPolicy: Always
image: docker.io/rogeralsing/tracelens:latest
ports:
- containerPort: 5001
- containerPort: 4317
env:
- name: PlantUml__RemoteUrl
value: ""
- name: ConnectionStrings__DefaultConnection
value: "USER ID=tracelens;PASSWORD=tracelenspass;HOST=postgres;PORT=5432;DATABASE=tracelens;POOLING=true;"