Kubernetes 1.35: In-Place Scaling and cgroup v2 Shift

Upgrade clinics at KubeCon North America in Salt Lake City from November 9 to 12, 2026 focused heavily on two operational changes anchored in the Kubernetes 1.35 baseline (KEP-5573 cgroup v1 removal by default alongside maturing in-place pod vertical scaling). Dropping cgroup v1 support exposes hidden Linux limit bugs inside legacy runtimes during cluster upgrades, while restart-free vertical resizing finally cuts the cloud buffer tax on stateful and warm-cache services.
Enterprise Kubernetes upgrades rarely fail because cluster teams misread release blogs; they stall in staging because ten-year-old Java, Python, or monitoring containers make quiet assumptions about Linux kernel control files. When kubelet enforces cgroup v2 cleanly under failCgroupV1=true, unpatched helper scripts reading old cgroup v1 memory counters crash silently or allocate dangerous host-wide memory heaps inside production pods.
What breaks during cgroup v1 removal
Under legacy Linux cgroup v1 nodes, containers read memory and CPU caps from well-known paths like /sys/fs/cgroup/memory/memory.limit_in_bytes. Modern Linux distributions and Kubernetes 1.35 standardize fully on unified cgroup v2 hierarchies (memory.max and cpu.max), which offer vastly cleaner page-cache pressure accounting and rootless container security.
Older Java 8 or early Java 11 binaries, legacy Node wrappers, and custom memory-watchdog sidecars that hardcode old v1 filesystem paths fail silently on cgroup v2 hosts: instead of seeing a pod's 4GB container limit, older runtime probes fall back to reading the entire physical host node's 256GB RAM! The application immediately expands caches straight past 4GB until the Linux kernel OOM-killer terminates the pod abruptly right after cluster upgrades go live.
| Kubernetes pod resource capability | Legacy cluster behavior | Kubernetes 1.35 behavior | Direct operational payoff |
|---|---|---|---|
Kernel resource hierarchy (KEP-5573) | Mixed cgroup v1 and v2 hosts across older distros | Drops cgroup v1 by default (failCgroupV1=true) | Uniform memory pressure control; catches stale runtime paths early |
| Vertical Pod CPU/RAM adjustments | Evicts and restarts the entire container on limit edits | In-place pod vertical scaling resizes quotas live without restart | Saves warm in-memory caches, JVM JIT warmup, and active sockets |
Cutting idle headroom with restart-free vertical resizing
For years, Kubernetes Vertical Pod Autoscaler (VPA) remained unpopular on stateful databases, Java monoliths, and warmed inference workers because changing a pod's CPU or memory request forced Kubernetes to kill the pod, rebuild caches from zero, and drop live user connections. Teams paid an expensive insurance tax instead: provisioning 2x peak RAM and CPU around every stateful pod 24 hours a day so limits never needed adjusting mid-week.
In-place pod vertical scaling (resizePolicy) lets operators and autoscalers boost container CPU or memory budgets dynamically on live running pods without restarting processes. Pairing live CPU/RAM bursts with shared GPU scheduling in Kubernetes Dynamic Resource Allocation and cluster fair-sharing queues in fixing the 5% GPU utilization trap shrinks wasted cloud reservations sharply across memory-heavy workloads. Note one persistent Linux rule: while CPU quotas scale up and down smoothly without restarts, shrinking container memory limits below pages actively held in RAM still requires graceful pod cycling or careful RestartNotRequired boundaries.
Application configuration must evolve alongside container limits for live resizing to deliver real gains. Managed runtimes like the JVM inspect host memory ceilings once at boot to size garbage-collected heaps (-XX:MaxRAMPercentage), meaning simply handing a running pod four extra gigabytes accomplishes little unless the application server adjusts worker thread counts or cache ceilings dynamically without needing a process reboot.
Pre-upgrade audit checklist for platform teams
Before flipping production worker node pools onto Kubernetes 1.35 and cgroup v2 hosts, platform engineers run three automated static scans across container inventories: check every base image for modern JVM, Go, and Python versions containing verified cgroup v2 detection patches; grep internal monitoring scripts and third-party sidecars for hardcoded /sys/fs/cgroup/memory filesystem reads; and stage canary worker pools verifying both OOM stability and safe in-place resize boundaries under realistic memory spikes before rolling upgrades globally. Testing resize failure modes early ensures live scaling rescues burdened services rather than leaving production pods stuck mid-resize when cluster nodes run tight on spare physical capacity.
Sources
- Kubernetes KEP-5573: Remove cgroup v1 Support: Kubernetes SIG Node, 2026
- Resize CPU and Memory Resources Assigned to Pods: Kubernetes Documentation, 2026
- CNCF KubeCon + CloudNativeCon North America 2026: Linux Foundation / CNCF, November 2026



