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

Discussion

Assertion (A): A rolling update depends on the readiness probe being meaningful.
Reason (R): Old pods are removed only once new ones report ready, so a probe that always passes removes the protection.

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

Answer: B

Correct answer: Both A and R are true, and R is the correct explanation of A

Both are true and the reason gives the dependency. A rolling update advances only as new pods report ready, so the readiness probe is what stops a broken version from replacing a working one. A probe that returns success unconditionally - a bare TCP check on a port the framework opens before it can serve, for instance - lets the rollout proceed through every replica and take the service down.

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

Post your comment

Please log in or register to post a comment.