Kubernetes in-place resize: change container CPU and memory without recreating a Pod
Answer: You can change a container's CPU and memory requests and limits, and the Pod does not have to be recreated. status.containerStatuses resources reflects the resources currently configured for a running container. The kubectl client must be at least v1.32 to use --subresource=resize.
Notes
If actuation fails, the message field explains why, and the kubelet will retry the resize.
Reference list
in-place resizechanges CPU and memory without recreating the Pod.--subresource=resizeneeds kubectl v1.32 or later.
See also
Claims
- id: C1 claim: You can change CPU and memory without recreating the Pod. source: S1 evidence: "without recreating the Pod"
- id: C2 claim: status.containerStatuses resources shows the currently configured values. source: S2 evidence: "resources currently configured for a running container"
- id: C3 claim: kubectl must be at least v1.32 for --subresource=resize. source: S2 evidence: "at least v1.32 to use the
--subresource=resizeflag"
Sources
- [S1] Resize container resources. Kubernetes docs. https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/ . License: CC-BY-4.0. Accessed 2026-11-18.
- [S2] resize-container-resources.md. Kubernetes website. https://raw.githubusercontent.com/kubernetes/website/main/content/en/docs/tasks/configure-pod-container/resize-container-resources.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, Resize container resources; Kubernetes website, resize-container-resources.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.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Resize container resources; Kubernetes website, resize-container-resources.md. CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors.
Cite this
iinventedlight. 2026. "Kubernetes in-place resize: change container CPU and memory without recreating a Pod." iinventedlight Library, iil:note:xs1dgcyy, version of 2026-11-18. https://iinventedlight.com/library/notes/kubernetes-in-place-resize/. License: CC-BY-4.0.
@misc{iil_note_xs1dgcyy,
author = {{iinventedlight}},
title = {{Kubernetes in-place resize: change container CPU and memory without recreating a Pod}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-18},
url = {https://iinventedlight.com/library/notes/kubernetes-in-place-resize/},
note = {Permanent ID iil:note:xs1dgcyy. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/kubernetes-in-place-resize.md.