Skip to content

Commit d60330d

Browse files
committed
feat: enable Kubernetes liveness and readiness probes in actuator configuration
1 parent 06ef413 commit d60330d

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
@@ -20,3 +20,7 @@ cart.service.url=${CART_SERVICE_URL:http://localhost:8084}
2020
# Actuator Configuration
2121
management.endpoints.web.exposure.include=health,info
2222
management.endpoint.health.show-details=always
23+
# Enable Kubernetes liveness/readiness probes (avoids external dependency checks in CI)
24+
management.endpoint.health.probes.enabled=true
25+
management.health.livenessstate.enabled=true
26+
management.health.readinessstate.enabled=true

0 commit comments

Comments
 (0)