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

Discussion

Assertion (A): Liveness and readiness probes serve different purposes and should be configured separately.
Reason (R): One decides whether to restart the container and the other whether to send it traffic.

  • A.Both A and R are true, and R is the correct explanation of A
  • B.Both A and R are true, but R is not the correct explanation of A
  • C.A is true but R is false
  • D.A is false but R is true

Answer: A

Both are true and the reason gives the distinction, and using the same endpoint for both is a common source of restart loops during slow startup. Separate endpoints are safer. One decides restarts and the other traffic.

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

Post your comment

Please log in or register to post a comment.