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:\n    def __init__(self):\n        pass\n\n    def execute(self):\n        print('Executing Rolling Updates')