forked from deliveryhero/helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChart.yaml
31 lines (25 loc) · 1.35 KB
/
Chart.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
apiVersion: v1
name: locust
version: "0.19.23"
appVersion: 1.4.4
home: https://github.com/locustio/locust
icon: https://locust.io/static/img/logo.png
maintainers:
- name: max-rocket-internet
email: [email protected]
description: |
A chart to install Locust, a scalable load testing tool written in Python.
This chart will setup everything required to run a full distributed locust environment with any amount of workers.
This chart will also create configmaps for storing the locust files in Kubernetes, this way there is no need to build custom docker images.
By default it will install using an example locustfile and lib from [stable/locust/locustfiles/example](https://github.com/deliveryhero/helm-charts/tree/master/stable/locust/locustfiles/example). When you want to provide your own locustfile, you will need to create 2 configmaps using the structure from that example:
```console
kubectl create configmap my-loadtest-locustfile --from-file path/to/your/main.py
kubectl create configmap my-loadtest-lib --from-file path/to/your/lib/
```
And then install the chart passing the names of those configmaps as values:
```console
helm install locust deliveryhero/locust \
--set loadtest.name=my-loadtest \
--set loadtest.locust_locustfile_configmap=my-loadtest-locustfile \
--set loadtest.locust_lib_configmap=my-loadtest-lib
```