Kubernetes-compatible health probe endpoints
"alive" if the application is running"ready" when critical services are available"not_ready" when critical services are unavailable| Aspect | Liveness Probe | Readiness Probe |
|---|---|---|
| Purpose | Detect if application is hung/crashed | Detect if application can serve traffic |
| Checks | Application process only | Database + Redis |
| Failure Action | Restart container | Remove from load balancer |
| Response Time | Very fast (~1ms) | Moderate (~50-100ms) |
| Use When | Container orchestration | Load balancing |
initialDelaySeconds to allow application startup (30-60 seconds)