- chore: ingest source code 112 files from https://github.com/spring-projects/spring-petclinic - feat: add platform deployment artifacts - feat: add CI/CD workflow automation
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
apiVersion: score.dev/v1b1
|
|
containers:
|
|
pclinic-andrej-demo1:
|
|
image: .
|
|
variables:
|
|
OTEL_SERVICE_NAME: pclinic-andrej-demo1
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector.monitoring.svc.cluster.local:4318
|
|
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
|
|
OTEL_RESOURCE_ATTRIBUTES: service.name=pclinic-andrej-demo1,app=pclinic-andrej-demo1
|
|
OTEL_METRICS_EXPORTER: otlp
|
|
OTEL_TRACES_EXPORTER: otlp
|
|
OTEL_LOGS_EXPORTER: none
|
|
metadata:
|
|
annotations:
|
|
prometheus.io/path: /metrics
|
|
prometheus.io/port: '8080'
|
|
prometheus.io/scrape: 'true'
|
|
labels:
|
|
app: pclinic-andrej-demo1
|
|
backstage.io/kubernetes-id: pclinic-andrej-demo1
|
|
name: pclinic-andrej-demo1
|
|
resources:
|
|
env:
|
|
type: environment
|
|
ingress:
|
|
params:
|
|
hostname: pclinic-andrej-demo1.apps.dev.crucible.kyndemo.live
|
|
name: pclinic-andrej-demo1
|
|
service_name: pclinic-andrej-demo1
|
|
service_port: 8080
|
|
type: workload-ingress
|
|
service:
|
|
ports:
|
|
http:
|
|
port: 8080
|
|
targetPort: 8080
|