Skip to content

Commit eb3b65b

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

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
@@ -15,3 +15,7 @@ spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
1515
# Actuator Configuration
1616
management.endpoints.web.exposure.include=health,info
1717
management.endpoint.health.show-details=always
18+
# Enable Kubernetes liveness/readiness probes (avoids external dependency checks in CI)
19+
management.endpoint.health.probes.enabled=true
20+
management.health.livenessstate.enabled=true
21+
management.health.readinessstate.enabled=true

0 commit comments

Comments
 (0)