Skip to content
Opsfolk

Configuration and resources, topic 17 of 61

Probes

A readiness probe says whether a container should get traffic: while it fails, the Pod is taken out of its Services. A liveness probe says whether it should be restarted. A startup probe holds the other two off until a slow application has started.

A probe can be an HTTP request, a TCP connection, a gRPC call or a command. A liveness probe that checks a dependency, such as the database, is a common mistake: when the database is down every Pod restarts, and nothing gets better.

On Opsfolk

Nothing of ours for this topic yet: an article is on its way.

Elsewhere

Your progress