Skip to content
uencoder

K8s Deployment

A Deployment manages a set of Pod replicas, supporting rolling updates and rollback, declaring the desired replica count and template.

Purpose

Manage stateless application lifecycle with zero-downtime rolling deployments.

Mechanism

Declares replicas and the Pod template. The controller creates ReplicaSets to maintain replica counts. Updating the image triggers a rolling update (new Pods created, old Pods terminated). Rollback to previous revisions.

Use cases

  • Application deployment
  • Rolling updates
  • Rollback

Related terms

References