What is a rolling update, and how does OpenShift perform upgrades without downtime?

Prepare for the Red Hat Openshift Developer EX288 Exam. Study with comprehensive quizzes and flashcards. Each question includes hints and explanations to enhance your understanding. Ace your exam with confidence!

Multiple Choice

What is a rolling update, and how does OpenShift perform upgrades without downtime?

Explanation:
Rolling updates in OpenShift use the Deployment’s rolling update strategy. When you deploy a new version, OpenShift creates new pods with the updated version first and keeps the old pods running until the new ones are ready. As each batch of new pods passes readiness checks, traffic continues to be served by healthy pods, and old pods are terminated gradually. This is controlled by settings like maxSurge and maxUnavailable, which define how many pods can be added or taken down at once, ensuring the application remains available throughout the upgrade. In short, the process replaces pods incrementally by bringing up new ones before terminating old ones, following the Deployment’s strategy.

Rolling updates in OpenShift use the Deployment’s rolling update strategy. When you deploy a new version, OpenShift creates new pods with the updated version first and keeps the old pods running until the new ones are ready. As each batch of new pods passes readiness checks, traffic continues to be served by healthy pods, and old pods are terminated gradually. This is controlled by settings like maxSurge and maxUnavailable, which define how many pods can be added or taken down at once, ensuring the application remains available throughout the upgrade. In short, the process replaces pods incrementally by bringing up new ones before terminating old ones, following the Deployment’s strategy.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy