Beyond VPA: Eight Ways Workload Autoscaler Optimizes Kubernetes Resources
CloudPilot AIEngineering TeamPublishedDec 1, 2026Read10 min
Kubernetes Vertical Pod Autoscaler (VPA) covers the basics of container right-sizing. It factors out-of-memory (OOM) events into its memory recommendations and offers an alpha CPU startup boost.
CloudPilot AI Workload Autoscaler goes further. It tunes the JVM heap and container memory together, uses separate recommendations for startup and steady state, and works with Node Autoscaler to turn lower Pod requests into fewer nodes.
Java Workload Optimization: Tune JVM Heap and Container Memory Together
The heap is only part of what a Java container consumes. Thread stacks, direct buffers, and other non-heap memory count toward the container limit too. Workload Autoscaler analyzes heap usage, garbage collection (GC) behavior, and container metrics to recommend the initial and maximum heap sizes (-Xms and -Xmx) together with container memory. Tuning them together reclaims over-provisioned memory while leaving enough headroom outside the heap.
New heap settings take effect when a new Pod starts, and GC and memory trends feed into later recommendations. Learn more about Java workload optimization.
Customer story: A digital asset trading platform cut Java memory usage by 27.5%
The platform was already running Karpenter. It enabled Java optimization in an EKS test environment, where new Pods started with tuned heap settings and their memory requests were right-sized to match. Java Memory Used fell by 27.5% and Java Memory Request by 17.8%, so the services consumed less memory and reserved less capacity in the cluster.
Read the case study: A Digital Asset Trading Platform Optimizes Java Services: Memory Usage Down 27.5%, EKS Nodes Down 32%+
ResourceStartupBoost: Give New Pods the CPU They Need to Start
Class loading, JIT compilation, and cache warm-up make Java startup CPU-intensive, and demand often drops sharply once the service has warmed up. ResourceStartupBoost uses a dedicated RecommendationPolicy to set the startup CPU request for new Pods during rollouts and scale-outs.
On Kubernetes 1.33 or later with compatible Workload Autoscaler components, the request can then be resized in place back to its steady-state target. A Pod becomes eligible once it meets the minimum boost and Ready durations, and the resize proceeds when the workload is ready and its update policy allows it. See the ResourceStartupBoost requirements.
Customer story: A digital asset trading platform cut CPU requests by 57.8%
With ResourceStartupBoost covering the warm-up spike, steady-state requests no longer need to account for it. Combined with continuous right-sizing by Workload Autoscaler, CPU requests dropped from an original 3,370.17 Cores/h to 1,420.71 Cores/h, a 57.8% reduction that brought them closer to actual usage.
Read the case study: A Digital Asset Trading Platform Optimizes Java Services: Memory Usage Down 27.5%, EKS Nodes Down 32%+
OOM Auto-Remediation: Fix the Memory Area That Ran Out
A heap OOM and a direct-buffer OOM call for different fixes. Workload Autoscaler combines container exit status with JVM OOM classification to identify which memory area was exhausted.
For eligible OOM events, Workload Autoscaler can raise the container memory target. For heap and GC overhead OOMs, it can also increase the managed heap size if the failed Pod has valid heap settings. For metaspace and direct-buffer OOMs, it adds container memory headroom; fixed JVM limits still need to be tuned separately. These recovery targets feed into later recommendations.
If the same container in a workload hits two distinct, confirmed OOMs within an hour, Workload Autoscaler can recreate the Pod as an emergency measure, even when the policy mode is Off. Disabling optimization for the workload blocks all new changes, including emergency ones. See the OOM Auto-Remediation guide for details on OOM classification and handling.
Customer story: A generative AI company went from 47 OOM events in 30 days to virtually none
Before optimization, about 19% of the company's containers were under-provisioned. Once Workload Autoscaler right-sized them to actual demand, OOM events and CPU throttling were virtually eliminated. At the same time, CPU requests fell by 63.98% and memory requests by 49.85%.
"What surprised us most was that as costs came down, stability actually got better." — Alex, Head of Infrastructure
Read the case study: How a Generative AI Company Cut AWS EKS Costs by 55% with Full-Stack Intelligent Autoscaling
HPA Coordination: Right-Size Memory Without Disrupting HPA
As traffic grows, a Horizontal Pod Autoscaler (HPA) can add replicas based on CPU utilization, which is measured against the Pods' CPU requests. Workload Autoscaler leaves those CPU requests unchanged and can still right-size memory that no HPA metric depends on. In the example below, the Pods already run with the CPU request from the workload template.
Workload Autoscaler detects HPAs that directly target Deployments and StatefulSets and protects the resources used by their utilization metrics. With a ContainerResource metric, protection applies only to the named container. New Pods keep the template values for protected requests. If a protected request was already resized on a running Pod, it can be restored to the template value when the update policy allows it. See the HPA-aware optimization release notes for the upgrade requirements.
PSI Recommendation Protection: Factor CPU Pressure into Recommendations
Two workloads can show the same CPU usage while one spends far more time waiting for CPU. Pressure Stall Information (PSI) exposes that wait time. When CPU pressure is high, Workload Autoscaler can lower the CPU request more conservatively, so the workload retains more CPU shares under contention.
Independent request and limit policies also let teams lower requests while allowing Pods to burst into spare CPU on the node. See how CPU PSI changes resource recommendations.
RecommendationPolicy and AutoscalingPolicy: Define Once, Reuse Across Workloads
A RecommendationPolicy defines how recommendations are calculated. An AutoscalingPolicy defines which workloads they apply to, and when and how updates are rolled out. A broad AutoscalingPolicy can match new workloads and start runtime detection. Once a workload is labeled as Java, a higher-priority AutoscalingPolicy can automatically apply the team's Java optimization policy.
Teams can share recommendation settings while keeping their own update modes and update windows. CronJobs can reuse resource usage history across runs. For custom workloads, Workload Groups use Pod selectors to group Pods and apply recommendations when new Pods are created.
Audit Log: Track Changes from Recommendation to Convergence
The CloudPilot AI Console shows usage, requests, limits, and recommendation history in one place. Audit Log records planned changes and update attempts, shows when a Pod spec matches its target, and reports convergence once eligible Pods are within the configured thresholds.
Start with a few services you know well. Review the recommendations, enable updates, and verify the results before rolling the policy out more broadly. Open a Recommendation Ready event to see the recorded targets. If an event is unavailable, check the workload's current resources directly.
Node Autoscaler: Turn Lower Pod Requests into Lower Node Costs
Lower Pod requests free up schedulable capacity. Node Autoscaler can use it to consolidate workloads: replacement Pods are scheduled onto fewer or smaller nodes, and the drained nodes are removed when disruption rules allow. The same workloads run on less provisioned capacity.
Customer story: A SaaS security company cut hourly node costs by 48.63% in its featured cluster
The company runs EKS and GKE. In its featured cluster, Workload Autoscaler reduced CPU requests from 197.51 to 68.79 Cores/h (−65.17%) and memory requests from 674.73 to 311.06 GiB (−53.90%). Node Autoscaler then consolidated nodes, cutting hourly node costs from $9.470 to $4.865 (−48.63%).
"We chose CloudPilot AI because it brings coordinated application and node optimization, image acceleration, and Local SSD ephemeral storage together in one platform." — Henry, Head of Infrastructure
The other two customers saw similar results: the generative AI company cut EC2 node costs by 55%, and the digital asset trading platform kept its existing Karpenter setup and reduced its node count by more than 32% after right-sizing requests.
Read the case study: A SaaS Security Company Cuts Cloud Costs by 49% and Streamlines Multi-Cloud Kubernetes Operations with CloudPilot AI
CloudPilot AI vs. VPA: Feature Comparison
Explore the Workload Autoscaler configuration guide or talk to the CloudPilot AI team about optimizing your own cluster.

Related articles

AWS Fargate vs EC2 for EKS: Which Is Cheaper?
Compare EKS on Fargate and EC2 billing, CPU requests and limits, and a worked cost example to decide whether EKS + CloudPilot AI fits your services.
CloudPilot AINov 9, 20269 min
Memory Extension in Practice: Reducing OOM Risk During Memory Spikes
EKS tests show how CloudPilot AI Memory Extension can absorb memory spikes, when swap increases request latency, and how to configure NodeClass and NodePool.
CloudPilot AINov 4, 202610 min
CPU Usage Looks Low. Why Is Your Application Still Slow?
CPU usage shows consumption, not waiting. Learn how CloudPilot AI Workload Autoscaler combines usage, PSI, and resource policies to right-size workloads.
CloudPilot AIOct 30, 20267 minThe Kubernetes Autoscaling Brief
Once a month: what we see in the Spot market, one real cluster torn down, and what shipped.
No spam. Unsubscribe anytime.