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

Rolling updates replace pods all at once.

It creates new pods before deleting old ones, but only using daemon sets.

It restarts old pods without creating new ones.

It replaces pods incrementally, creating new pods before terminating old ones, according to 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.

Want more questions?

All options are one-time payments.

$25.99

30 day premium pass

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
$59.99 $171.99 usd

6 month DELUXE pass (most popular)

Everything with the 30 day premium pass FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • Everything included in the premium pass
  • $171.99 usd value for $59.99! You save $106!
  • + Access to the ultimate digital PDF study guide
  • + 6 months of premium pass access
  • + Priority support
$15.99 $24.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy