-
Notifications
You must be signed in to change notification settings - Fork 0
/
load-generator.yaml
37 lines (37 loc) · 1.02 KB
/
load-generator.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
32
33
34
35
36
37
apiVersion: batch/v1
kind: Job
metadata:
name: load-generator
labels:
app: load-generator
spec:
backoffLimit: 0
completionMode: NonIndexed
completions: 8
parallelism: 8
suspend: false
template:
metadata:
labels:
app: load-generator
spec:
restartPolicy: Never
containers:
- name: load-generator
image: ghcr.io/neptune-ai/load-generator:0.0.1
command: ["python3", "load_generator.py"]
args: ["--processes=20", "--runs", "10", "--steps", "20",
"--series", "9900", "--atoms", "10", "--step-time=25",
"--run-name='load-test 4m x 400x9900'", "--indexed-split=0.9",
"--sync-partitions=8", ">", "/dev/null"]
env:
- name: NEPTUNE_ALLOW_SELF_SIGNED_CERTIFICATE
value: "1"
- name: NEPTUNE_API_TOKEN
value: "<ADD TOKEN HERE>"
- name: NEPTUNE_PROJECT
value: "load2"
resources:
requests:
cpu: "14"
memory: 30000Mi