/skenario

A simulator toolkit for Knative

Primary LanguageGoApache License 2.0Apache-2.0

Skenario

Skenario is a simulator toolkit for autoscalers. It was originally created to assist with Knative Autoscaler, and later re-oriented towards Horizontal Pod Autoscaler (HPA).

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 Tests
PR Tests PRs

Web GUI Usage

First, launch the server:

$ go run cmd/skenario/main.go

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.