AI Agents Strain Kubernetes Capacity Planning as Workloads Sit Idle and Spike
- Jonathan Anthony
- 871 views
ScaleOps says agent workloads crash for lack of resources 80% more often than microservices and describes real-time Kubernetes controls to reduce waste.

AI agents can leave Kubernetes capacity tied up while they wait, then demand more resources in a burst. That combination makes fixed allocations difficult to tune: teams may reserve enough capacity for peak demand and pay for it during idle periods, or risk failed tasks when a spike exceeds what’s available.
Yodar Shafrir, founder and chief executive officer of ScaleOps Inc., says agent workloads have added complexity to infrastructure management because each action still consumes compute. He discussed the issue with theCUBE Research’s Paul Nashawaty and Rebecca Knight at KubeCon + CloudNativeCon NA.
“Agents and all the agent workloads pretty much made everything way more complex when managing infrastructure,” Shafrir said. “Eventually, all the complexity that existed before just got much worse. Today, the compute cost has grown dramatically. Everything that agents execute eventually runs on compute.”
Why agent workloads complicate capacity planning
Traditional microservices and agent workloads can place different demands on a cluster. An agent may wait for a person or another agent, make a request to a large language model, and then execute a task in a short burst. During the wait, it can continue to hold memory. Provisioning for the burst can therefore mean carrying resources that sit idle between tasks.
Shafrir says this pattern also creates a reliability risk. If an agent lacks sufficient resources while executing a step, it can crash and need to run that step again. The repeat attempt consumes tokens again, adding cost to the resource shortage. Static settings have trouble matching this stop-and-start behavior because they cannot adjust allocations in response to every change in workload demand.
ScaleOps reports that agents crash due to insufficient resources 80% more often than traditional microservices. That figure is the company executive’s characterization of the workloads, rather than a separately described industrywide measurement. For teams operating agent systems, the practical question is whether their own monitoring shows idle memory between bursts and failures linked to resource limits.
ScaleOps’ approach: adjust resources as demand changes
ScaleOps says its platform makes resource decisions in real time, adjusting allocations, replicas and node placement for applications, agents and Model Context Protocol servers. The company says this approach cuts cloud costs by 70% to 80%. Those savings are a vendor claim; the source provides no test conditions or measurement period for the figure.
Shafrir says the platform learns from historical patterns and maps how applications connect and communicate, as well as what he calls their business state. Customers including Adobe Inc. and Salesforce Inc. first run the platform in read-only mode in their hardest environments, he said. That lets teams assess what the system observes before it makes resource changes, according to his description.
The company also describes two ways to reduce the cost of idle agents. One lets other workloads use an agent’s resources while the agent is waiting. The other uses memory swap so the agent receives memory when it needs it. ScaleOps says these capabilities make running agents 90% more cost-efficient without moving workloads off Kubernetes. The company’s discussion of always-on agent costs provides more detail on its view of the problem.
What platform teams should assess
The underlying trade-off is familiar to infrastructure teams: capacity reserved for a peak can remain underused, while a tighter allocation can leave too little headroom when demand rises. Agent workloads make that trade-off harder to manage because waiting, model requests and task execution can happen in repeating bursts. A useful review should look at resource use across the full workload cycle, including idle periods, rather than only at peak consumption or average demand.
Teams should also connect resource failures to their effects on task execution. A shortage that triggers a retry may consume additional tokens and delay completion, so the impact can extend beyond the immediate container or node. The figures ScaleOps cites point to that connection, but the source does not provide independent customer results or details that would let administrators estimate savings for a particular cluster.
Shafrir’s view is that conventional scaling methods are too static for workloads that change this quickly and still depend on people to configure them. “When things are so dynamic, it no longer works the same way,” he said. The operational takeaway is to examine whether agent workloads are holding memory while idle, whether bursts are causing resource-related retries, and whether any automated changes can be evaluated safely in a read-only setting before they affect production capacity.
ScaleOps sponsored the segment in which Shafrir spoke. The company’s cost and reliability figures are attributed claims.