-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbenchmark.yaml
More file actions
77 lines (77 loc) · 3.21 KB
/
Copy pathbenchmark.yaml
File metadata and controls
77 lines (77 loc) · 3.21 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# config for https://github.com/camunda-community-hub/camunda-8-benchmark
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: benchmark
labels:
app: benchmark
spec:
selector:
matchLabels:
app: benchmark
serviceName: benchmark
replicas: ${loadGeneratorStarter.starterReplicas}
template:
metadata:
# annotations:
# linkerd.io/inject: enabled
# config.linkerd.io/opaque-ports: "26500"
labels:
app: benchmark
# istio.io/dataplane-mode: ambient
spec:
containers:
- name: benchmark
image: camundacommunityhub/camunda-8-benchmark:main
imagePullPolicy: Always
env:
- name: BENCHMARK_STARTER_ID
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: JAVA_OPTIONS
value: >-
-Dcamunda.client.mode=selfmanaged
-Dcamunda.client.zeebe.grpc-address=http://camunda-zeebe-gateway:26500
-Dcamunda.client.zeebe.prefer-rest-over-grpc=false
-Dcamunda.client.zeebe.request-timeout=600s
-Dcamunda.client.zeebe.defaults.poll-interval=1ms
-Dcamunda.client.zeebe.default-job-worker-stream-enabled=true
-Dcamunda.client.worker.defaults.stream-enabled=true
-Dbenchmark.startProcesses=true
-Dbenchmark.bpmnProcessId=${loadGeneratorStarter.processModel}
-Dbenchmark.startPiPerSecond=${loadGeneratorStarter.startThroughput}
-Dbenchmark.startPiIncreaseFactor=${loadGeneratorStarter.startPiIncreaseFactor}
-Dbenchmark.startRateAdjustmentStrategy=${loadGeneratorStarter.rateAdjustmentStrategy}
-Dbenchmark.fixedBackOffDelay=${jobWorker.fixedBackOffDelay}
-Dbenchmark.maxBackpressurePercentage=1.0
-Dbenchmark.startWorkers=true
-Dbenchmark.jobType=benchmark-task
-Dbenchmark.multipleJobTypes=${jobWorker.numberOfJobTypes}
-Dbenchmark.taskCompletionDelay=${jobWorker.jobDuration}
-Dbenchmark.payloadPath=file:/${loadGeneratorStarter.payload}
-Dbenchmark.fixedBackOffDelay=${jobWorker.fixedBackOffDelay}
-Dbenchmark.autoDeployProcess=false
-Dbenchmark.warmupPhaseDurationMillis=${loadGeneratorStarter.rampUpTime}000
-Dbenchmark.enablePartitionPinning=${jobWorker.partitionPinning}
-Dbenchmark.partitionCount=${engine.partitions}
-Dbenchmark.numberOfStarters=${loadGeneratorStarter.starterReplicas}
# -Dcamunda.client.zeebe.grpc-address=http://camunda-zeebe-gateway-grpc:26500
# -Dzeebe.client.worker.max-jobs-active=${jobWorker.maxJobsActive}
# -Dzeebe.client.worker.threads=${jobWorker.numberOfThreads}
resources:
limits:
cpu: ${engine.vcpus}
memory: ${engine.ram}Gi
requests:
cpu: 100m
memory: 512Mi
volumeMounts:
- name: payload
mountPath: ${loadGeneratorStarter.payload}
subPath: ${loadGeneratorStarter.payload}
readOnly: true
volumes:
- name: payload
configMap:
name: payload