load-generator

by Intel

Helm chartv0.1.2App 1.0Verified publisher

A Helm chart that uses k6 to generate load

About this chart

Load Generation

A chart that uses k6 to generate load

Values

ParameterDescriptionDefault
image.pullPolicyAlways
image.repositoryloadimpact/k6
image.tag0.22.1
loadScriptThe js script that you want to generate the load.import http from "k6/http";
replicaCountNumber of load pods1
resources.limits.cpu500m
resources.limits.memory256Mi
resources.requests.cpu250m
resources.requests.memory128Mi
k6.durationDuration of k6 test0 - infinite, keep running while pod runs
k6.rpsMax requests per second in each k6 pod1
k6.maxVUsMax number of k6 VUs per pod1
k6.VUsActual number of running VUs at start. Must be less than maxVUs1
influx.eanbledEnable sending to an influxdbfalse
influx.dbNameName of influx database to keep datak6
influx.insecurenon-https influxtrue
influx.urlURL of influx to send to"http://data-influxdb.tick:8086"
influx.retentionName of influx retention policy to use for dataautogen

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartload-generator is pinned at v0.1.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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