elsa-core/scripts/k8s/elsa-studio/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

25 lines
573 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: elsa-studio-deployment
spec:
replicas: 1
selector:
matchLabels:
app: elsa-studio
template:
metadata:
labels:
app: elsa-studio
spec:
containers:
- name: elsa-studio
imagePullPolicy: Never
image: elsa-studio:latest
ports:
- containerPort: 8080
env:
- name: ASPNETCORE_ENVIRONMENT
value: Development
- name: "ELSASERVER__URL"
value: "http://localhost:8001/elsa/api"