Skip to content

Commit 048bbf5

Browse files
committed
feat: enable Kubernetes liveness and readiness probes in actuator configuration
1 parent a750718 commit 048bbf5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/resources/application.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ spring.data.mongodb.database=${MONGODB_DATABASE:CSO2_content_service}
88
# Actuator Configuration
99
management.endpoints.web.exposure.include=health,info
1010
management.endpoint.health.show-details=always
11+
# Enable Kubernetes liveness/readiness probes (avoids external dependency checks in CI)
12+
management.endpoint.health.probes.enabled=true
13+
management.health.livenessstate.enabled=true
14+
management.health.readinessstate.enabled=true

0 commit comments

Comments
 (0)