CloudSim Plus‐K8s: A Contract‐Driven Extension for Kubernetes Container Orchestration Simulation
Othmane Zarai, Widad Ettazi, Driss Riane
Key points
From the paper's conclusion- We validated the simulator against kube‐scheduler‐simulator on 300 scenarios and against a four‐node Oracle Cloud k3s cluster running Google's Online Boutique.
Abstract
Background Existing simulators for container orchestration do not model the full Kubernetes stack—the scheduler, workload controllers, pod lifecycle, and autoscalers—together. Objective To provide CloudSim Plus‐K8s, a discrete‐event simulation extension of CloudSim Plus whose fidelity is set out in an explicit contract enforced by tests. Methods The extension models filter‐and‐score scheduling, the Horizontal and Vertical Pod Autoscalers and the Cluster Autoscaler, six workload controllers, and per‐service M/M/c latency. A 214‐test suite enforces the fidelity contract. We validated the simulator against kube‐scheduler‐simulator on 300 scenarios and against a four‐node Oracle Cloud k3s cluster running Google's Online Boutique. Results Filter and feasibility agreement with kube‐scheduler is 100%. Strict winner‐node agreement is 84% (5‐run mean; range 82%–87%), and combined winner‐or‐score‐set agreement is 100% on both substrates; steady‐state replica error is zero. The remaining strict disagreement arises solely from tie‐breaking among co‐optimal nodes. The M/M/c model reproduces traced p 95 latency within ±0.5 log 10 for one of eight operations under moderate load, with accuracy degrading under saturation. Conclusions CloudSim Plus‐K8s provides a falsifiable specification of the Kubernetes behaviours it reproduces, together with their tolerances, and is released as an open‐source, reproducible artefact.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ScaleBench: An Extensible and Reproducible Experimental Platform for Kubernetes Autoscaling ResearcharXiv · 2026
- Why Kubernetes Cannot Contain a Full Lazy-Pulling Cache: Two Impossibility Results and a Bounded, Honest Design for Model ServingarXiv · 2026
- InferScale: Kubernetes-Native Predictive Autoscaling for SLO-Aware AI InferencearXiv · 2026
- SCut: Cost-Aware Kubernetes Pod Scheduling via Spectral Graph CutsElectronics · 2026
- A Reproducible Predictive Autoscaling Evaluation for Polyglot Kubernetes Microservices Using Residual Recurrent ForecastingConcurrency and Computation: Practice and Experience · 2026
- Koi: Evidence-Guided, Self-Calibrating Planning for Multi-Cloud, Heterogeneous LLM Inference FleetsarXiv · 2026