arXiv:2610.34006cs.DCOct 2026

Manuscript Offprint

arXiv:2610.34006

InferScale: Kubernetes-Native Predictive Autoscaling for SLO-Aware AI Inference

Wen Huang

Wen Huang

Independent Researcher

alexwhuang@outlook.com

Abstract—Kubernetes Horizontal Pod Autoscaler (HPA) is widely used for inference services, but reactive scaling is often too slow when pods take tens of seconds to become ready. The problem gets worse in shared clusters, where independent HPAs compete for the same resource budget and can hurt different tenants from run to run. We present InferScale, a Kubernetes-native autoscaler that combines inference-aware signals, short-horizon demand prediction, SLO-state control, fast-path spike handling, and tenant-priority headroom without replacing the default scheduler.

We evaluate InferScale on Azure Kubernetes Service in two settings. On a real ResNet-50 ONNX workload with 21-second cold start, repeated ramp-burst runs improve SLO compliance from 47.8%±1.5%47.8\% \pm 1.5\% under a stronger external-metric HPA to 65.3%±9.0%65.3\% \pm 9.0\% under InferScale. In repeated controlled multi-tenant contention experiments, InferScale cuts Gold-tier SLO standard deviation from 16.1 to 1.2 percentage points and makes contention outcomes follow the priority policy more closely. Repeated single-service ablations show 6–8 percentage point degradation, with an exploratory priority ablation showing a 27-point drop under contention. The main takeaway is that, in startup-sensitive inference serving, the practical value of prediction lies less in precise forecasting than in moving the controller early enough to offset cold-start delay.

Index Terms—Kubernetes, autoscaling, AI inference, SLO-aware systems, predictive scaling, multi-tenant cloud systems

I. INTRODUCTION

AI inference is now a normal Kubernetes workload. Teams deploy model servers as standard Deployments, expose them over HTTP, and expect the platform to scale them the same way it scales other services. That is convenient operationally, but inference serving has one awkward property: new pods are often expensive to start.

A serving pod may need to download model artifacts, initialize a runtime, allocate memory, and run warmup requests before it is actually useful. In our ONNX Runtime setup, a ResNet-50 pod takes about 21 seconds to become ready even on a modest 500m-CPU allocation. HPA reacts only after a metric crosses a threshold [1], and the rest of the path—scrape, reconcile, create, ready—adds more delay. In our AKS deployment, that whole loop takes roughly 60–90 seconds for real model serving. For a short burst, that is simply too late.

We first expected a stronger reactive baseline to narrow the gap. It helped, but not enough. In a motivation experiment with an external-metric HPA, the autoscaler still violated the 200 ms P95 SLO for 60 of 61 burst seconds. Static provisioning held the SLO, but only by keeping extra replicas around when they were not needed. That gives the basic tradeoff for this paper: react and miss, or provision and waste.

Shared clusters make the problem less predictable. When several inference services share the same node pool, independent HPAs can hurt different tenants in different runs even under the same workload and budget. Large production systems have long faced the same resource-sharing tension at cluster scale [2]. For a cloud platform team, that is a bad property. The problem is not just average latency; it is that the policy outcome is hard to reason about.

InferScale is our attempt to fix that without changing the deployment model. It stays in the standard Kubernetes control plane and does not replace the scheduler. The controller uses inference-aware signals, short-horizon demand prediction, SLO-state control, fast-path spike handling, and tenant-priority headroom to move earlier when startup delay is the real bottleneck. The contribution is not a new forecasting algorithm in isolation; it is the integration of early demand signal, SLO-state response, and priority-aware headroom into a Kubernetes-native control loop and the evaluation of where that integration helps.

The main contributions are:

• We show, with both real-model and controlled evidence, that reactive HPA is too slow for bursty inference workloads when pod startup is non-trivial.

• We present InferScale, a Kubernetes-native predictive autoscaler that combines short-horizon demand estimation, SLO-state control, fast-path spike handling, and tenant-aware guardrails within the standard control plane.

• We evaluate InferScale on AKS and show that repeated real-model ramp-burst runs still improve SLO compliance over both CPU HPA and a stronger external-metric HPA, while also providing more consistent protection for high-priority tenants under repeated shared-cluster contention.

• Ablation shows that under startup-sensitive bursts, early trend exposure matters at least as much as the forecasting component itself. Removing individual components degrades repeated single-service SLO compliance by 6–8 percentage points, while an exploratory priority ablation shows a 27-point drop under contention.