Unveiling the Impact of Scheduling Strategies in Kubernetes with the KubeTwin Platform
Abstract
Efficient workload scheduling is central to the performance, scalability, and cost-effectiveness of modern clouds. In the most popular cloud platform today, Kubernetes (K8s), the scheduler can be extended with multiple scheduling plugins, enabling fine-grained control over scheduling decisions. However, cloud providers often lack clear insights into the trade-offs of individual placement strategies and resort to combining multiple plugins without a clear rationale. This uncertainty creates a gap in understanding which scheduling configuration yields optimal results for a given application or traffic pattern under specific infrastructure conditions. Thus, this paper investigates the implications of different scheduling strategies in K8s by leveraging KubeTwin (KT), a high-fidelity simulator for the K8s platform designed for reproducible experimentation. This work extended KT with advanced scheduling capabilities to evaluate the impact of single and combined scheduling plugins across diverse workloads and infrastructure conditions, focusing on key aspects such as performance, fairness, and resource utilization. The results highlight that Node-affinity and Diktyo single-purpose plugins consistently outperform multi-objective scheduling combinations, achieving the lowest deployment costs (below 50 price/day), shortest queue times (under 50 ms), and fastest response times (below 200 ms). In contrast, combined strategies, such as Balanced, result in significantly higher costs and higher latency. This study shows that combining multiple optimization criteria within a single scheduling strategy often degrades performance, whereas targeted, single-objective plugins deliver robust and predictable behavior across heterogeneous infrastructures and workload patterns.