advancedTop 100 Interview Questions
What's the difference between liveness and readiness probes for a Spring Boot app using Actuator?
Spring Boot Actuator exposes separate health groups/endpoints for liveness (`/actuator/health/liveness` — is the JVM/process fundamentally OK) and readiness (`/actuator/health/readiness` — are dependencies like the DB connection pool actually available); mapping each to the correct orchestrator probe type avoids restart loops during normal warm-up or transient dependency hiccups.
This is a Pro chapter
Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.
What's the difference between liveness and readiness probes for a Spring Boot app using Actuator?