
Research Article
Kubernetes-in-the-Loop: Enriching Microservice Simulation Through Authentic Container Orchestration
@INPROCEEDINGS{10.1007/978-3-031-48885-6_6, author={Martin Straesser and Patrick Haas and Sebastian Frank and Alireza Hakamian and Andr\^{e} van Hoorn and Samuel Kounev}, title={Kubernetes-in-the-Loop: Enriching Microservice Simulation Through Authentic Container Orchestration}, proceedings={Performance Evaluation Methodologies and Tools. 16th EAI International Conference, VALUETOOLS 2023, Crete, Greece, September 6--7, 2023, Proceedings}, proceedings_a={VALUETOOLS}, year={2024}, month={1}, keywords={Kubernetes Microservices Container orchestration Discrete event simulation Cloud computing Software performance}, doi={10.1007/978-3-031-48885-6_6} }
- Martin Straesser
Patrick Haas
Sebastian Frank
Alireza Hakamian
André van Hoorn
Samuel Kounev
Year: 2024
Kubernetes-in-the-Loop: Enriching Microservice Simulation Through Authentic Container Orchestration
VALUETOOLS
Springer
DOI: 10.1007/978-3-031-48885-6_6
Abstract
Microservices deployed and managed by container orchestration frameworks like Kubernetes are the bases of modern cloud applications. In microservice performance modeling and prediction, simulations provide a lightweight alternative to experimental analysis, which requires dedicated infrastructure and a laborious setup. However, existing simulators cannot run realistic scenarios, as performance-critical orchestration mechanisms (like scheduling or autoscaling) are manually modeled and can consequently not be represented in their full complexity and configuration space. This work combines a state-of-the-art simulation for microservice performance with Kubernetes container orchestration. Hereby, we include the original implementation of Kubernetes artifacts enabling realistic scenarios and testing of orchestration policies with low overhead. In two experiments with Kubernetes’kube-schedulerandcluster-autoscaler, we demonstrate that our framework can correctly handle different configurations of these orchestration mechanisms boosting both the simulation’s use cases and authenticity.