diff --git a/score-lab.yaml b/score-lab.yaml new file mode 100644 index 0000000..2faa50c --- /dev/null +++ b/score-lab.yaml @@ -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