forked from cloud-bulldozer/benchmark-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cr.yaml
31 lines (31 loc) · 836 Bytes
/
cr.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: ripsaw.cloudbulldozer.io/v1alpha1
kind: Benchmark
metadata:
name: vegeta-benchmark
namespace: benchmark-operator
spec:
elasticsearch:
# Elastic search instance with full URL format. https://elastic.apps.org:9200
url: https://elastic.apps.org:9200
# test_user: username_to_attach_to_metadata
clustername: myk8scluster
workload:
name: vegeta
args:
# node_selector: "vegeta=true"
hostnetwork: false
clients: 2
targets:
- name: 100w-ka
urls:
- GET https://mydomain.com/test.png
- GET http://myunsecuredomain.com
samples: 2
workers: 100
duration: 10
keepalive: true
- name: 20w
urls:
- GET https://domain.com/api/endpoint
workers: 20
duration: 10