Menu

Resize a Kubernetes Pod Without Restarting It: In-Place Resize in Practice
📰

Resize a Kubernetes Pod Without Restarting It: In-Place Resize in Practice

DEV Community: kubernetes·MVPLAB·6 days ago
#k2vhJcrS
#devtokubernetes#devto#dev#resize#memory
Long article (1207 words) — no AI summary yet.
Reading 0:00
15s threshold

You can give a running pod more CPU without restarting it. In-place pod resize has been stable since Kubernetes v1.35, yet most teams still delete pods just to change a number.

This post is a practical guide: what the feature does, the exact commands, how to read the status, and the limits that will catch you out. Every field and command here comes from the official Kubernetes task page, Resize CPU and Memory Resources assigned to Containers .

The analogy: adjusting the seat while driving

Old Kubernetes made you pull over, get out, and get into a different car whenever you wanted the seat moved. That is a pod delete and recreate: new pod, new IP, cold caches, dropped connections.

In-place resize lets you move the seat while the car is moving. For some adjustments (CPU) that is easy.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.