Misconfiguring these two can cause your app to go into a restart loop or serve 500 errors to users.
- Readiness Probe: Tells K8s when the app is ready to receive traffic (e.g., after DB migrations).
- Liveness Probe: Tells K8s if the app is alive. If this fails, K8s kills and restarts the container.
Pro Tip: Never point your Liveness probe to a dependency (like a DB). If the DB goes down, all your pods will restart unnecessarily!
