Le probe permettono al kubelet di verificare lo stato di salute di un container e di agire in base al risultato. Ce ne sono tre: liveness (è vivo, o va riavviato?), readiness (è pronto a ricevere traffico?) e startup (ha finito di avviarsi?). Ciascuna risponde a una domanda diversa.
Le tre probe a colpo d'occhio
LIVENESS → "Is the app stuck/deadlocked?" FAIL → kubelet RESTARTS the container
READINESS → "Can it serve traffic right now?" FAIL → Pod removed from Service endpoints
(NOT restarted)
STARTUP → "Has the slow boot finished?" runs FIRST; while it runs, liveness &
readiness are held off
