← All notes

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

See also

Claims

Sources

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

Permanent ID: iil:note:xs1dgcyy

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.},
}

Markdown

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.