feat: add platform deployment artifacts

This commit is contained in:
2026-04-01 19:03:42 +00:00
parent 3a3424ee5b
commit 715ca41724
9 changed files with 485 additions and 0 deletions

28
score.yaml Normal file
View File

@@ -0,0 +1,28 @@
apiVersion: score.dev/v1b1
containers:
test-ab-1:
image: .
variables:
OTEL_SERVICE_NAME: test-ab-1
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector.monitoring.svc.cluster.local:4318
OTEL_RESOURCE_ATTRIBUTES: app=test-ab-1
metadata:
annotations:
prometheus.io/path: /actuator/prometheus
prometheus.io/port: '8080'
prometheus.io/scrape: 'true'
instrumentation.opentelemetry.io/inject-java: monitoring/otel-instrumentation
labels:
app: test-ab-1
backstage.io/kubernetes-id: test-ab-1
name: test-ab-1
resources:
dns:
type: dns
env:
type: environment
service:
ports:
http:
port: 8080
targetPort: 8080