Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pivotal/skenario

A simulator toolkit for Knative
https://github.com/pivotal/skenario

autoscaling knative knative-serving simulation

Last synced: 2 months ago
JSON representation

A simulator toolkit for Knative

Awesome Lists containing this project

README

        

# Skenario

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](docs/concepts.md) for a discussion of how Skenario is designed.

See "[Implement workload simulator for autoscaler development](https://github.com/knative/serving/issues/1686)"
for background and notes.

| Job | Status |
| ---: | --- |
| Main Tests | [![Tests](http://wings.pivotal.io/api/v1/teams/jchester-knative/pipelines/skenario/jobs/test/badge)](https://wings.pivotal.io/teams/jchester-knative/pipelines/skenario/jobs/test/) |
| PR Tests | [![PRs](http://wings.pivotal.io/api/v1/teams/jchester-knative/pipelines/skenario/jobs/test-pr/badge)](https://wings.pivotal.io/teams/jchester-knative/pipelines/skenario/jobs/test-pr/) |

## Web GUI Usage

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](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.