LearningTech

Deployment

Rolling Updates

Description

Updating instances one by one or in batches, rather than all at once.

Where to use

  • High Availability.

Real World Example

Kubernetes Rolling Update: Replace Pod 1, then Pod 2, etc.

Code Example

class RollingUpdates:
    def __init__(self):
        pass

    def execute(self):
        print('Executing Rolling Updates')