in a newly generated Sring Boot project with Release 2.3.0.RELEASE, including Web Reactive and Actuator, does not automatically provide liveness and readiness endpoints.

The docs don't suggest any additional configuration for these endpoints, as far as I understand.

boot log is

2020-05-19 16:46:44.781  INFO 3252 --- [           main] com.example.demo.DemoApplicationKt       : No active profile set, falling back to default profiles: default
2020-05-19 16:46:45.824  WARN 3252 --- [           main] ion$DefaultTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2020-05-19 16:46:45.976  INFO 3252 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 2 endpoint(s) beneath base path '/actuator'
2020-05-19 16:46:46.944  INFO 3252 --- [           main] o.s.b.web.embedded.netty.NettyWebServer  : Netty started on port(s): 8080
2020-05-19 16:46:46.955  INFO 3252 --- [           main] com.example.demo.DemoApplicationKt       : Started DemoApplicationKt in 2.462 seconds (JVM running for 2.797)

Comment From: clojj

just found the missing property from the blog post myself:

management.health.probes.enabled=true

Comment From: bclozel

Hi @clojj

This is a documentation bit that we've missed in this part. We've been iterating on this feature a few times and this part was left out unfortunately. I'll repurpose this issue as a documentation enhancement.

I see you've found the management.health.probes.enabled=true configuration property in the blog post. I'll add something in the " Kubernetes Probes" section to mention that probes are only enabled in a Kubernetes environement or if management.health.probes.enabled=true.

Thanks!