This chart uses Locust tool for stress testing.
Locust runs as another standalone Helm release.
After release installation, some instructions regarding access to WEB UI for Locust printed in stdout.See this section for more information about UI interaction.
You can change locust config with the folloving variables in
image.repository- repository of locust image
image.tag- tag of locust image
master.config- key-value configuration records for locust master (used as container env vars)
master.config.locust-host- URL of target mastermind service. See this doc for details
master.config.target-host- same as
master.config.locust-mode-master- master mode flag. Please, don't change it, because for new versions of locust this flag is mandatory for a master node.
master.config.locust-locustfile- path to the injected locust file. Please, don't change file directory (
/locust-tasks/), because it is fixed mountpoint for pods. The filename itself can have any value, but should be the same as key in the configmap (
worker.config- key-value configuration records for locust worker (used as container env vars).
worker.config.configmapName- name of configmap with locustfile
worker.config.locust-mode-worker- worker mode flag. Please, don't change it, because for new versions of locust this flag is mandatory for a worker node.
worker.config.locust-locustfile- path to the injected locust file. Same rules as for
worker.config.locust-master-node-host- hostname of the locust master service, which is formatted as
worker.replicaCount- number of locust workers
You can find available variables for master and worker configuration from chart desription and official locust documentation (most of the flags and args can be injected through env vars).
NB: The original helm chart image (
has outdated locust version and doesn't support most of
the current env variables from the first link above.
master.config.target-host is used only for compatibility
and must be equal to
values.yaml you need to setup the following vars (
enabled- enable/disable stress testing
locustFilePath- path to the locust file (should be in the