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