feat: add platform deployment artifacts
This commit is contained in:
28
score.yaml
Normal file
28
score.yaml
Normal 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
|
||||
Reference in New Issue
Block a user