Files
test-ab-1/score.yaml

29 lines
686 B
YAML

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