You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The jkube-healthcheck-spring-boot enricher says about setting management.health.probes.enabled to enable the liveness/readiness probes, however since spring boot 2.3.2 that property is deprecated/removed, it was renamed to management.endpoint.health.probes.enabled.
Read about the spring boot Kubernetes Probes for the correct property name.
If you are going to update the documentation, can you also write about setting the management.endpoints.web.base-path to rename the root path of the health probes ?
@claudio4j : Would you be able to create a PR to update the documentation? Since you've recently worked with the enricher, I believe you're more familiar with its behavior. You can find it's source code here.
Activity
rohanKanojia commentedon Mar 7, 2025
@claudio4j : Isn't the generation of liveness and readiness probes automatically enabled when the
spring-boot-actuator
dependency is added?jkube/jkube-kit/jkube-kit-spring-boot/src/main/java/org/eclipse/jkube/springboot/enricher/SpringBootHealthCheckEnricher.java
Lines 100 to 102 in 9c7d1e4
jkube/jkube-kit/jkube-kit-spring-boot/src/main/java/org/eclipse/jkube/springboot/enricher/SpringBootHealthCheckEnricher.java
Lines 41 to 42 in 9c7d1e4
Do you mean the documentation is showing wrong information?
claudio4j commentedon Mar 7, 2025
The documentation says about
management.health.probes.enabled
and the SpringBootConfiguration.java uses the old property name.claudio4j commentedon Mar 7, 2025
Not setting the
management.health.probes.enabled
, the Deployment sets the/actuator/health
for both liveness and readiness probes.claudio4j commentedon Mar 7, 2025
If you are going to update the documentation, can you also write about setting the
management.endpoints.web.base-path
to rename the root path of the health probes ?Thank you
rohanKanojia commentedon Mar 7, 2025
@claudio4j : Would you be able to create a PR to update the documentation? Since you've recently worked with the enricher, I believe you're more familiar with its behavior. You can find it's source code here.
claudio4j commentedon Mar 7, 2025
Sure, I'm glad to help.
jkube-healthcheck-spring-boot enricher: rename property management.he…
fix(jkube-healthcheck-spring-boot enricher)!: rename property managem…
fix(jkube-healthcheck-spring-boot enricher)!: rename property managem…
fix(jkube-healthcheck-spring-boot enricher)!: rename property managem…
fix(jkube-healthcheck-spring-boot enricher)!: rename property managem…
fix(jkube-healthcheck-spring-boot enricher)!: rename property managem…