load-generator
Helm chartv0.1.2App 1.0
A Helm chart that uses k6 to generate load
About this chart
Load Generation
A chart that uses k6 to generate load
Values
| Parameter | Description | Default |
|---|---|---|
image.pullPolicy | Always | |
image.repository | loadimpact/k6 | |
image.tag | 0.22.1 | |
loadScript | The js script that you want to generate the load. | import http from "k6/http"; |
replicaCount | Number of load pods | 1 |
resources.limits.cpu | 500m | |
resources.limits.memory | 256Mi | |
resources.requests.cpu | 250m | |
resources.requests.memory | 128Mi | |
k6.duration | Duration of k6 test | 0 - infinite, keep running while pod runs |
k6.rps | Max requests per second in each k6 pod | 1 |
k6.maxVUs | Max number of k6 VUs per pod | 1 |
k6.VUs | Actual number of running VUs at start. Must be less than maxVUs | 1 |
influx.eanbled | Enable sending to an influxdb | false |
influx.dbName | Name of influx database to keep data | k6 |
influx.insecure | non-https influx | true |
influx.url | URL of influx to send to | "http://data-influxdb.tick:8086" |
influx.retention | Name of influx retention policy to use for data | autogen |
Deploy load-generator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has load-generator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartload-generator is pinned at v0.1.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply