/k8-simulation

A not-so-simple k8s simulation with load balancers and magically adjusting(ML) pod auto scalers

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

k8-simulation

A basic k8s simulation

Pre-requisites

  • Python 3+
  • Python unittest module
  • Python matplotlib module
  • Python pandas module

Getting started

  • To run the simulator get into the src directory and run the runSimulator.py

Testing

  • Run ./test.sh all to run the test suite containing all unit test cases
  • Run ./test.sh <path_to_unit_test> to run a particular unit test

Directories

  • test/ contains all the unit test cases
  • src/ contains the source code
  • tracefiles/ contains the tracefiles for test and actual simulations