Skip to content

Actuator Probes not shown, even if enabled #44832

Open
@madduci

Description

@madduci

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions