Skenario is a simulator toolkit for Kubernetes autoscaling systems. It was initially developed to support the development of the Knative horizontal pod autoscaler (KPA) but has been extended to support the Kuberentes Horizontal Pod Autoscaler (HPA) and the Vertical Pod Autoscaler (VPA).
See the Concepts document for a discussion of how Skenario is designed.
See "Implement workload simulator for autoscaler development" for background and notes.
Job | Status |
---|---|
Main Tests | |
PR Tests |
First, build plugins. See [the Makefile].
Second, launch the server:
$ ./build/sim ./build/plugin-k8s ./build/plugin-k8s-vpa
Then go to https://localhost:3000 to see the user interface.
Adjust parameters using the form and click "Execute simulation" to submit the parameters to the server process. When the simulation is complete, a graph of the results will be displayed.
The server stores simulation results in skenario.db
. To suppress this behaviour, check "Run in memory" in the UI.
When you are finished, Ctrl-C
to kill the running server.