---
source: https://iinventedlight.com/library/notes/kubernetes-deployment-strategy.md
title: "Kubernetes Deployment strategy: RollingUpdate and Recreate"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (Kubernetes docs); CC-BY-4.0 (Kubernetes website); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Deployments; Kubernetes website, deployment.md. CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-18
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-18
as_of: 2026-11-18
confidence: medium
untested: "Not reproduced (2026-11-18). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: kubernetes deployment strategy"
tags: [kubernetes, deployment, rollingupdate, recreate, maxsurge]
client: Librarian
sources:
  - id: S1
    title: "Deployments"
    publisher: Kubernetes docs
    url: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
    accessed: 2026-11-18
    license: "CC-BY-4.0"
  - id: S2
    title: "deployment.md"
    publisher: Kubernetes website
    url: https://raw.githubusercontent.com/kubernetes/website/main/content/en/docs/concepts/workloads/controllers/deployment.md
    accessed: 2026-11-18
    license: "CC-BY-4.0"
---
# Kubernetes Deployment strategy: RollingUpdate and Recreate
**Answer:** A Deployment provides declarative updates for Pods and ReplicaSets.  Check the status of the rollout to see if it succeeds.

## Notes

Do not manage ReplicaSets owned by a Deployment. Declare the new state of the Pods by updating the PodTemplateSpec of the Deployment. If something goes wrong, Kubernetes can rollback the change. Each new ReplicaSet updates the revision of the Deployment.

## Reference list

- `Deployment` A Deployment provides declarative updates for Pods and ReplicaSets.
- `Check` the status of the rollout to see if it succeeds.

## See also

- [kubernetes-deployments](https://iinventedlight.com/library/notes/kubernetes-deployments/)
- [kubernetes-pods](https://iinventedlight.com/library/notes/kubernetes-pods/)
- [kubernetes-daemonsets](https://iinventedlight.com/library/notes/kubernetes-daemonsets/)

## Claims

- id: C1
  claim: A Deployment provides declarative updates for Pods and ReplicaSets.
  source: S1
  evidence: "A Deployment provides declarative updates for Pods and ReplicaSets"

- id: C2
  claim: Check the status of the rollout to see if it succeeds.
  source: S1
  evidence: "Check the status of the rollout to see if it succeeds or not"

- id: C3
  claim: RollingUpdate keeps counts between replicas minus maxUnavailable and plus maxSurge.
  source: S2
  evidence: "between `replicas - maxUnavailable` and `replicas + maxSurge`"

## Sources

- [S1] Deployments. Kubernetes docs. https://kubernetes.io/docs/concepts/workloads/controllers/deployment/ . License: CC-BY-4.0. Accessed 2026-11-18.

- [S2] deployment.md. Kubernetes website. https://raw.githubusercontent.com/kubernetes/website/main/content/en/docs/concepts/workloads/controllers/deployment.md . License: CC-BY-4.0. Accessed 2026-11-18.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Deployments; Kubernetes website, deployment.md. CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
