Skip to content

DescartesResearch/misim-k8s-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

misim-k8s-adapter

Adapter for connecting MiSim to Kubernetes components.

Usage

This adapter should be used with the MiSim Orchestration Extension and handles connections to Kubernetes components (such as the kube-scheduler or cluster-autoscaler). Therefore, it implements selected party of the Kubernetes API. Consider the docs of the MiSim Orchestration Extension repository to get examples.

Common Pitfalls

Make sure to follow the correct order of starting the artifacts:

  1. Start this adapter using the run.sh script
  2. Start Kubernetes components
  3. Start the MiSim Orchestration Extension

For Kubernetes components that use leader election mechanisms make sure to deactivate them at start by passing --leader-elect=false, as, by now, we do not implement the Kubernetes Leases API.

Cite us

@inproceedings{straesser2023kubernetesintheloop,
  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-scheduler and cluster-autoscaler, we demonstrate that our framework can correctly handle different configurations of these orchestration mechanisms boosting both the simulation's use cases and authenticity.},
  added-at = {2023-08-17T01:05:43.000+0200},
  author = {Straesser, Martin and Haas, Patrick and Frank, Sebastian and Hakamian, Alireza and Van Hoorn, André and Kounev, Samuel},
  biburl = {https://www.bibsonomy.org/bibtex/23ea9a74ebfc49b6a1a29bce1d6083855/samuel.kounev},
  booktitle = {Performance Evaluation Methodologies and Tools},
  interhash = {373d040402db63c40b7b0b707adf66ad},
  intrahash = {3ea9a74ebfc49b6a1a29bce1d6083855},
  keywords = {cloud_computing container_orchestration descartes discrete_event_simulation kubernetes microservices software_performance t_full myown},
  note = {In print.},
  timestamp = {2023-08-17T01:05:43.000+0200},
  title = {Kubernetes-in-the-Loop: Enriching Microservice Simulation Through Authentic Container Orchestration},
  year = 2023
}

Any questions?

For questions contact Martin Straesser.

About

Adapter for connecting MiSim to Kubernetes components.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages