Process Flow - Why probes keep applications healthy
Start Application Pod
Kubelet runs Probes
Perform Liveness Probe
Is Pod Alive?
No→Restart Pod
Yes
Perform Readiness Probe
Is Pod Ready?
No→Remove Pod from Service
Yes
Pod serves traffic
Repeat Probes Periodically
Kubernetes uses probes to check if an application is alive and ready. If not alive, it restarts the pod. If not ready, it stops sending traffic to it.