Interview Prep/Networking/Kubernetes & Service Networking in Production

How do readiness, liveness and startup probes interact with traffic?

BeginnerProductionKubernetes & Service Networking in Production
Answer

Readiness decides whether a pod is in Service endpoints (no readiness means no traffic). Liveness restarts the container if it fails, so keep it shallow and never dependent on downstream services. Startup probe delays the others for slow starters.

A readiness probe that checks the database will remove all pods during a DB blip; use a shallow check or degrade gracefully.

All Networking questions Roadmap: Networking for DevOps

More on Kubernetes & Service Networking in Production