Updating pods

Updating pods

Create, scale, update, recover, remove

ReplicaSets are only responsible for maintaining scale

Containerized services require complete lifecycle management

Update without service interruption


Responsible for updating applications with multiple pods

Deployment internals

Deployment with ReplicaSet and pods

Hidden ReplicaSet

Deployments create a ReplicaSet

ReplicaSet maintains scale

ReplicaSet receives a random suffix

Pods receive a second random suffix

Deployment with old and new ReplicaSet


Deployments initiate an update by creating a new ReplicaSet

Updates work by scaling the new ReplicaSet up…

…and scaling the old ReplicaSet down