feat: modernize application — source, platform artifacts, CI/CD
- chore: ingest source code 108 files from https://github.com/spring-projects/spring-petclinic - feat: add platform deployment artifacts - feat: add CI/CD workflow automation
This commit is contained in:
33
score.yaml
33
score.yaml
@@ -1,19 +1,28 @@
|
||||
apiVersion: score.dev/v1b1
|
||||
containers:
|
||||
test-resolve-c6:
|
||||
image: .
|
||||
variables:
|
||||
OTEL_SERVICE_NAME: test-resolve-c6
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector.monitoring.svc.cluster.local:4318
|
||||
OTEL_RESOURCE_ATTRIBUTES: app=test-resolve-c6
|
||||
metadata:
|
||||
name: test-resolve-c6
|
||||
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-resolve-c6
|
||||
|
||||
containers:
|
||||
main:
|
||||
image: .
|
||||
|
||||
service:
|
||||
ports:
|
||||
web:
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
|
||||
backstage.io/kubernetes-id: test-resolve-c6
|
||||
name: test-resolve-c6
|
||||
resources:
|
||||
dns:
|
||||
type: dns
|
||||
env:
|
||||
type: environment
|
||||
service:
|
||||
ports:
|
||||
http:
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
|
||||
Reference in New Issue
Block a user