在Kubernetes中自动伸缩GPU推理工作负载仍然具有挑战性,因为Horizontal Pod Autoscaler (HPA)等默认机制基于反应式和阈值,在动态和突发流量模式下表现不佳,且缺乏与GPU级别指标的集成。我们提出了KIS-S,这是一个统一框架,结合了KISim(一种GPU感知的Kubernetes推理模拟器)和KIScaler(一种基于Proximal Policy Optimization (PPO)的自动伸缩器)。KIScaler完全在模拟中学习延迟感知和资源高效的伸缩策略,并直接部署而无需重新训练。在四种流量模式下的实验表明,KIScaler将平均奖励提高了75.2%,与CPU基线相比将P95延迟降低了最高6.7倍,并且无需重新训练即可泛化。我们的工作弥合了反应式自动伸缩与可扩展GPU加速环境的智能编排之间的差距。
英文摘要:
Autoscaling GPU inference workloads in Kubernetes remains challenging due to the reactive and threshold-based nature of default mechanisms such as the Horizontal Pod Autoscaler (HPA), which struggle under dynamic and bursty traffic patterns and lack integration with GPU-level metrics. We present KIS-S, a unified framework that combines KISim, a GPU-aware Kubernetes Inference Simulator, with KIScaler, a Proximal Policy Optimization (PPO)-based autoscaler. KIScaler learns latency-aware and resource-efficient scaling policies entirely in simulation, and is directly deployed without retraining. Experiments across four traffic patterns show that KIScaler improves average reward by 75.2%, reduces P95 latency up to 6.7x over CPU baselines, and generalizes without retraining. Our work bridges the gap between reactive autoscaling and intelligent orchestration for scalable GPU-accelerated environments.
Automatic Adjustment of HPA Parameters and Attack Prevention in Kubernetes Using Random Forests
School of Computer Sciences, Universiti Sains Malaysia(计算机科学学院,马来西亚理科大学);Xiamen Institute of Software Technology, China(厦门软件技术研究所,中国);Information Management Department of Manzhouli Customs, China(满洲里海关信息管理部,中国);College of Information Science and Engineering, Jimei University, China(信息科学与工程学院,嘉义大学)
SLO-Scaler: Uncertainty-Aware SLO-Driven Autoscaling for Microservices
Carnegie Mellon University(卡内基梅隆大学);Duke University(杜克大学);University of Cincinnati(辛辛那提大学);University of Southern California(南加州大学);Northeastern University(东北大学)
Auto-scaling Approaches for Microservice Applications: A Survey and Taxonomy
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Chinese Academy of Sciences(中国科学院大学);Tianjin University(天津大学);Quantum Cloud Computing and Distributed Systems (qCLOUDS) Laboratory, School of Computing and Information Systems, the University of Melbourne(墨尔本大学计算与信息系量子云计算与分布式系统(qCLOUDS)实验室);State Key Lab of IOTSC, University of Macau(澳门大学物联网智慧应用国家重点实验室)