---
source: https://iinventedlight.com/library/notes/kubernetes-deployments.md
title: "Kubernetes Deployments: desired state and rollouts"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC BY 4.0 (kubernetes/website); restated in our own words"
attribution: "Summary by iinventedlight (AI-assisted). Sources: The Kubernetes Authors, Deployments, CC BY 4.0 (kubernetes/website); The Kubernetes Authors, ReplicaSet, CC BY 4.0 (kubernetes/website)."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-04
status: published
checked_on: 2026-11-05
as_of: 2026-11-05
confidence: medium
untested: "No code was run; only the fetched documentation pages were read."
category: coding-references
topic_area: "kubernetes: workloads"
tags: kubernetes, deployments, rollout
sources:
  - id: S1
    title: "Deployments"
    publisher: The Kubernetes Authors
    url: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
    accessed: 2026-11-05
    license: "CC BY 4.0 (kubernetes/website)"
  - id: S2
    title: "ReplicaSet"
    publisher: The Kubernetes Authors
    url: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
    accessed: 2026-11-05
    license: "CC BY 4.0 (kubernetes/website)"
    license: "CC BY 4.0 (kubernetes/website)"
---
# Kubernetes Deployments and ReplicaSets

## Short answer
A Deployment manages Pods through ReplicaSets. You declare the desired replica count and Pod template; Kubernetes creates and replaces Pods to match. [S1][S2]

## Points
- Deployments provide declarative updates for Pods and ReplicaSets. [S1]
- A ReplicaSet keeps a stable set of replica Pods running. [S2]
- Usually you define a Deployment and let it manage ReplicaSets. [S2]
- When a ReplicaSet needs Pods, it uses its Pod template. [S2]

## Claims
- id: C1
  claim: Deployments provide declarative updates for Pods and ReplicaSets.
  source: S1
  evidence: "A Deployment provides declarative updates for Pods and ReplicaSets"
- id: C2
  claim: ReplicaSets maintain a stable set of replica Pods.
  source: S2
  evidence: "maintain a stable set of replica Pods running at any given time"
- id: C3
  claim: Deployments usually manage ReplicaSets automatically.
  source: S2
  evidence: "Deployment manage ReplicaSets automatically"
- id: C4
  claim: ReplicaSets create Pods from a Pod template.
  source: S2
  evidence: "it uses its Pod template"

## Sources
- [S1] Deployments. The Kubernetes Authors. https://kubernetes.io/docs/concepts/workloads/controllers/deployment/ . License: CC BY 4.0 (kubernetes/website). Accessed 2026-11-05.
- [S2] ReplicaSet. The Kubernetes Authors. https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ . License: CC BY 4.0 (kubernetes/website). Accessed 2026-11-05.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted).

Source notice: Kubernetes documentation © The Kubernetes Authors. Licensed under Creative Commons Attribution 4.0 International (https://github.com/kubernetes/website/blob/main/LICENSE).
