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

Discussion

A Deployment declares 5 replicas and one node hosting 2 of them fails. How many pods will the controller create?

  • A.5
  • B.3
  • C.0
  • D.2

Answer: D

Correct answer: 2

The declared state is 5 replicas and 3 survive, so the controller creates the 2 that are missing - it reconciles the difference rather than recreating the whole set. Whether those 2 can actually be placed depends on capacity elsewhere in the cluster; without it they remain pending, which is why cluster autoscaling is usually paired with this behaviour.

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

Post your comment

Please log in or register to post a comment.