File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : k6.io/v1alpha1
3
+ kind : TestRun
4
+ metadata :
5
+ name : k6-pod
6
+ spec :
7
+ # How many k6 instances to run. Each will execute equal load.
8
+ parallelism : 4
9
+ script :
10
+ configMap :
11
+ name : foundations
12
+ file : 01.basic.js
13
+ # `k6 run` arguments
14
+ arguments : -d 30s -u 100
15
+ runner :
16
+ env :
17
+ - name : BASE_URL
18
+ value : https://pizza.grafana.fun
19
+
20
+ # Run distributed k6 tests using `k6-operator`
21
+ #
22
+ #
23
+ # kubectl create namespace k6
24
+ #
25
+ # kubectl create configmap foundations -n k6 --from-file=./foundations
26
+ # alternatively, use persistent volumes when importing local modules
27
+ #
28
+ # kubectl apply -n k6 -f k8s-runner.yaml
29
+ #
30
+ # kubectl get pod -n k6
31
+ #
32
+ # kubectl logs -f -n k6 XYZ
33
+ #
34
+ # kubectl delete -n k6 -f k8s-runner.yaml
35
+ # alternatively, set `cleanup: post`
You can’t perform that action at this time.
0 commit comments