readiness probe

A check that decides whether a pod should receive traffic right now; failing it removes the pod from its Service without restarting it.

In more detail

It is often an HTTP request to a path such as /ready, and failing it takes the instance out of load balancing without a restart. That suits warm-up, overload, a missing dependency or draining during shutdown. Keep it separate from the liveness probe, which restarts a container that has stopped working.

Example

readinessProbe:
  httpGet:
    path: /
    port: 8080

Related terms

Related guides

Taught in

References

Certification courses