56 lines
1.7 KiB
YAML
56 lines
1.7 KiB
YAML
apiVersion: score.dev/v1b1
|
|
metadata:
|
|
name: demo-vivek-11
|
|
labels:
|
|
app: demo-vivek-11
|
|
# Read by the orchestrator to create the Argo CD Application: which team owns it, and the
|
|
# repository whose deploy/lab folder holds the rendered manifests.
|
|
annotations:
|
|
crucible.kyndryl.com/team: demo
|
|
crucible.kyndryl.com/repo-url: https://gitea.kyndemo.live/validate/demo-vivek-11.git
|
|
|
|
containers:
|
|
main:
|
|
image: .
|
|
variables:
|
|
# The Watcher's OTel work lands in overlays/otel/, which only ArgoCD reads. On the
|
|
# orchestrator path nothing consumes that overlay, so without these variables the
|
|
# renovated app emits no telemetry at all and never appears in Grafana.
|
|
OTEL_SERVICE_NAME: "demo-vivek-11"
|
|
OTEL_EXPORTER_OTLP_ENDPOINT: "http://otel-collector.monitoring.svc.cluster.local:4318"
|
|
OTEL_EXPORTER_OTLP_PROTOCOL: "http/protobuf"
|
|
OTEL_RESOURCE_ATTRIBUTES: "service.name=demo-vivek-11"
|
|
OTEL_METRICS_EXPORTER: "otlp"
|
|
OTEL_TRACES_EXPORTER: "otlp"
|
|
OTEL_LOGS_EXPORTER: "none"
|
|
# Required by the platform's policy check. Spring Boot's actuator answers {"status":"UP"} here.
|
|
# The platform adds a startupProbe from the liveness probe, so a slow JVM start is not killed.
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /actuator/health
|
|
port: 8080
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /actuator/health
|
|
port: 8080
|
|
|
|
service:
|
|
ports:
|
|
web:
|
|
port: 80
|
|
targetPort: 8080
|
|
|
|
resources:
|
|
env:
|
|
# Note: environmnet dev -- project lab
|
|
type: dev
|
|
ingress:
|
|
type: workload-ingress
|
|
params:
|
|
name: demo-vivek-11
|
|
hostname: demo-vivek-11.apps.lab.crucible.kyndemo.live
|
|
service_name: demo-vivek-11
|
|
service_port: 80
|
|
db:
|
|
type: postgres
|