-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjob.yaml
36 lines (36 loc) · 992 Bytes
/
job.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
apiVersion: batch/v1
kind: Job
metadata:
name: manetu-sparql-loadtest
spec:
template:
spec:
restartPolicy: Never
containers:
- name: sparql-loadtest
image: manetuops/sparql-loadtest:latest
imagePullPolicy: Always
env:
- name: MANETU_URL
value: https://ingress.manetu-platform
- name: LOG_LEVEL
value: info
- name: LOADTEST_CONCURRENCY
value: "64"
- name: LOADTEST_NR
value: "10000"
- name: LOADTEST_QUERY
value: "/etc/manetu/loadtest/query.sparql"
- name: LOADTEST_BINDINGS
value: "/etc/manetu/loadtest/bindings.csv"
envFrom:
- secretRef:
name: manetu-sparql-loadtest
volumeMounts:
- name: data
mountPath: "/etc/manetu/loadtest"
readOnly: true
volumes:
- name: data
configMap:
name: manetu-sparql-loadtest