Probes، kubelet کو ایک container کی صحت جانچنے اور نتیجے پر عمل کرنے دیتے ہیں۔ تین ہیں: liveness (کیا یہ زندہ ہے، یا اسے restart کیا جانا چاہیے؟)، readiness (کیا یہ ٹریفک وصول کرنے کے لیے تیار ہے؟)، اور startup (کیا یہ ابھی boot ہونا مکمل کر چکا ہے؟)۔ ہر ایک ایک مختلف سوال کا جواب دیتا ہے۔
تینوں probes ایک نظر میں
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
