Back to Catalog
Cloud
Foundational
Health Probe
Implement liveness, readiness, and startup probes for application health monitoring
Intent & Description
The Health Probe pattern implements liveness, readiness, and startup probes to monitor application health. Liveness probes determine when to restart containers, readiness probes indicate when containers are ready to serve traffic, and startup probes check if applications have started successfully. These probes enable Kubernetes to manage application lifecycle automatically.
Real-world Use Case
Use when you need to monitor application health or when you want Kubernetes to automatically handle unhealthy containers.
Source
Advantages
- Automatic recovery from failures
- Prevents routing traffic to unready containers
- Enables graceful startup for slow applications
- Integrates with Kubernetes lifecycle management
Disadvantages
- Requires careful probe configuration
- Incorrect probes can cause unnecessary restarts
- Adds complexity to application deployment