Skip to content
Theory · Deployments · lesson 1 of 8

Deployments and ReplicaSets

The train web swaps its v1 carriages for new v2 ones on the move: an old one leaves, a new one couples on

Picture a train that runs without stopping while its carriages are swapped on the move: a new one is coupled, an old one uncoupled, and the passengers don't even notice. An app in a cluster is updated the same way: the new version arrives while the old one is still answering requests. This theme covers the object that can do this and how it works inside.

In this lesson

  • Three levels
  • A Deployment manifest
  • The selector and the template labels
  • The Deployment in the cluster
  • Common mistake
  • Key points