Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pivotal/skenario
- Owner: pivotal
- License: apache-2.0
- Created: 2019-03-04T21:23:55.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-28T21:45:16.000Z (over 3 years ago)
- Last Synced: 2024-05-09T19:19:43.475Z (8 months ago)
- Topics: autoscaling, knative, knative-serving, simulation
- Language: Go
- Homepage:
- Size: 62.5 MB
- Stars: 29
- Watchers: 7
- Forks: 10
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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.