Kubernetes In-Place Pod Resizing: Scale CPU & Memory Without Restart
Answer-first: In-Place Pod Resizing (GA in Kubernetes v1.35) allows you to modify CPU and memory requests/limits on running containers without restarting the pod — eliminating cold-start disruptions for AI inference, databases, and stateful workloads. This guide covers requirements, production YAML, VPA integration, cost optimization patterns, and gotchas. What You’ll Learn That AI Won’t Tell You In-place pod resizing edge cases where CPU updates cause container restarts. Configuring kubelet parameters to support resizing without disrupting running JVM tasks. Before this feature, changing a container’s resource allocation required deleting and recreating the pod. For a stateful database holding connections, an AI model with 30GB of weights loaded in memory, or a long-running batch job — that restart is catastrophic. In-Place Pod Resize finally decouples resource management from pod lifecycle. ...