Machine-translated by Google. Questions are authored in English.
Top

Discussion

A readiness probe in Kubernetes determines whether a pod

  • A.should be restarted by the kubelet
  • B.has been given the correct image
  • C.may be scheduled onto a node
  • D.should receive traffic

Answer: D

Correct answer: should receive traffic

A readiness probe answers whether the pod can serve requests now; failing it removes the pod from its Service’s endpoints without restarting it, so a pod still warming its cache or waiting on a dependency stops receiving traffic and then resumes. The liveness probe is the separate one that decides whether the container should be restarted, and confusing the two produces restart loops during slow startups.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.