advancedSpring Boot Actuator

How does /actuator/health decide whether to report UP or DOWN?

It aggregates every HealthIndicator bean Spring Boot auto-detects (database, disk space, Redis, and any custom ones you write) — if even one indicator reports DOWN, the whole aggregate endpoint reports DOWN, which is exactly what a Kubernetes readiness probe checks before routing traffic.

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to Why is exposing /actuator/env or /actuator/heapdump to the public internet a real security risk?← Back to all Spring Boot questions