Accepting selected projects for Q2 2024 Check availability
SERVER 02SYSTEM ONLINELAST SYNC: 03:17:44RSS_FEED.XML — PARSE WARNING
HALF ASSEDTECHNICAL NOTES_
EST. 2009ISSUE 04.2BEST VIEWED AT 1024 × 768
TECHNICAL NOTES / TECHNICAL NOTES / OPERATIONS / RECORD 3f2c3f
[OPERATIONS]NOTE

Readiness and liveness are different questions

POSTED: 15.09.2021AUTHOR: ADMIN6 MIN READCOMMENTS: 0

A readiness probe controls traffic, while a liveness probe decides whether the process should be restarted. Returning the same deep dependency check from both endpoints couples unrelated recovery actions.

Keep liveness local

Liveness should establish that the process can make progress. Do not fail it because a database, queue or external API is unavailable; restarting every replica will not repair that dependency and can destroy useful diagnostic state.

Use readiness for service capacity

Readiness can remove a pod that cannot serve its workload, but apply timeouts and failure thresholds that tolerate brief downstream variation. Expose dependency state separately so operators can distinguish local and shared failures.

Protect slow startup

Use a startup probe for applications whose initialisation exceeds normal liveness thresholds. Test deployment, scaling and dependency-loss scenarios while watching endpoint removal, termination grace and in-flight requests.

FAILURE MODE

A probe that restarts healthy processes during a shared database outage converts one incident into a recovery queue and a loss of evidence.