diff --git a/score-lab.yaml b/score-lab.yaml index 3612d50..92bd595 100644 --- a/score-lab.yaml +++ b/score-lab.yaml @@ -18,6 +18,16 @@ containers: 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: