Description
I have a Service that does not run on Kubernetes, but i'd like to activate the Liveness and Readines Probes for it.
According to the description in the official documentation of SpringBoot 3.4.4,
These health groups are automatically enabled only if the application runs in a Kubernetes environment. You can enable them in any environment by using the management.endpoint.health.probes.enabled configuration property.
I've set the property management.endpoint.health.probes.enabled
to true, but the /actuator/health
Endpoint shows only {"status": "UP"}.
This can also be validated using an Integration Test with annotated @SpringBootTest
and @EnableAutoConfiguration
, the Endpoint misses the group
entry and the Endpoints are also not available.
It looks like, the Property does not affect the endpoint behaviour
Environment
Java 21 Temurin
SpringBoot 3.4.4 (Bug reproducible since 3.4.0)