Study. uk . com
  1. Home
  2. All questions
  3. Question 629

CKA study material · question 629 of 1000

An engineer sets both maxUnavailable and maxSurge to 0 on a RollingUpdate Deployment. What is wrong with that?

  1. It forces the strategy to fall back to Recreate
  2. It is valid but makes every rollout instantaneous
  3. It is only invalid when replicas is greater than one
  4. It is rejected, because a rollout with no room to add or remove a Pod could never progress
Show the answer

Answer: D. It is rejected, because a rollout with no room to add or remove a Pod could never progress

Neither field may be zero when the other is, since a rolling update needs either room to take a Pod down or room to bring an extra one up.

Source: Deployments (Kubernetes) — Writing a Deployment Spec › Max Surge

Challenge yourself on this topic → Study as cards