Spring Boot : 2.4.5

If we have management.health.defaults.enabled= true

I see the Eureka for that service status moving to UNKNOWN, instead of UP.

After commenting the above line, it workes. Not sure why is the strange behavior.

Comment From: wilkinsona

true is the default value of management.health.defaults.enabled so removing that setting should not result in a change in behaviour, unless you have some lower precedence configuration elsewhere that's setting it to false.

When the defaults are enabled, I would guess that one of the default health indicators is responding with something other than UP. Accessing the health endpoint in a way that allows you to see the full details of the response should allow you to identify which one.

If you have any further questions, please follow up on Stack Overflow or Gitter. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements.