When you change a Deployment's Pod template, the controller has to replace old Pods with new ones. The strategy field controls how. The default, RollingUpdate, replaces Pods gradually so the app keeps serving during the change. The alternative, Recreate, deletes all old Pods first and only then creates new ones.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 5 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.