Skip to content

Commit 2491316

Browse files
committed
feat: enable Kubernetes liveness and readiness probes in actuator configuration
1 parent cadd413 commit 2491316

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/resources/application.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ order.service.url=${ORDER_SERVICE_URL:http://localhost:8083}
2121
# Actuator Configuration
2222
management.endpoints.web.exposure.include=health,info
2323
management.endpoint.health.show-details=always
24+
# Enable Kubernetes liveness/readiness probes (avoids external dependency checks in CI)
25+
management.endpoint.health.probes.enabled=true
26+
management.health.livenessstate.enabled=true
27+
management.health.readinessstate.enabled=true

0 commit comments

Comments
 (0)