Asked about Containers and deployment

What is the difference between a liveness and a readiness check?

An answer that works

Liveness asks whether the process is functioning at all; failing it triggers a restart. Readiness asks whether it can serve traffic yet; failing it removes it from the load balancer. Conflating them causes restarts during a slow startup, such as loading a model.

Reading an answer is not being able to give one. The section that teaches this is Containers and deployment, 5 hours of Containers.

Learn this properly