Skip to main content

Explain health checks in Kubernetes.

Mid Microservices
Quick Answer Kubernetes health checks: Liveness probe checks if the container needs to be restarted (fails = restart). Readiness probe checks if the container is ready to receive traffic (fails = removed from Service load balancer, not restarted). Startup probe gives slow-starting apps time to init before liveness kicks in. Probes can be HTTP, TCP, or exec commands.

Answer

Liveness probe checks if app is running; restarts if dead.
Readiness probe checks if app can serve traffic.
Ensures stable and reliable deployments.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice