Add score-lab.yaml

This commit is contained in:
2026-09-28 16:54:31 +00:00
parent f9541e6943
commit 5960df4f34

40
score-lab.yaml Normal file
View File

@@ -0,0 +1,40 @@
apiVersion: score.dev/v1b1
metadata:
name: demo-vivek-11
labels:
app: demo-vivek-11
containers:
main:
image: .
variables:
# The Watcher's OTel work lands in overlays/otel/, which only ArgoCD reads. On the
# orchestrator path nothing consumes that overlay, so without these variables the
# renovated app emits no telemetry at all and never appears in Grafana.
OTEL_SERVICE_NAME: "demo-vivek-11"
OTEL_EXPORTER_OTLP_ENDPOINT: "http://otel-collector.monitoring.svc.cluster.local:4318"
OTEL_EXPORTER_OTLP_PROTOCOL: "http/protobuf"
OTEL_RESOURCE_ATTRIBUTES: "service.name=demo-vivek-11"
OTEL_METRICS_EXPORTER: "otlp"
OTEL_TRACES_EXPORTER: "otlp"
OTEL_LOGS_EXPORTER: "none"
DATABASE_URL: "postgresql://${resources.db.username}:${resources.db.password}@${resources.db.host}:${resources.db.port}/${resources.db.name}"
service:
ports:
web:
port: 80
targetPort: 8080
resources:
env:
type: environment
ingress:
type: workload-ingress
params:
name: demo-vivek-11
hostname: demo-vivek-11.apps.lab.crucible.kyndemo.live
service_name: demo-vivek-11
service_port: 80
# db:
# type: postgres