-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathCalrissianJob-revsort.yaml
60 lines (60 loc) · 1.77 KB
/
CalrissianJob-revsort.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
apiVersion: batch/v1
kind: Job
metadata:
name: calrissian-revsort-array
spec:
template:
spec:
containers:
- name: calrissian
image: calrissian:latest
command: ["calrissian"]
args:
- "--stdout"
- "/calrissian/output-data/revsort-output.json"
- "--stderr"
- "/calrissian/output-data/revsort-stderr.log"
- "--max-ram"
- "16G"
- "--max-cores"
- "8"
- "--tmpdir-prefix"
- "/calrissian/tmptmp/"
- "--tmp-outdir-prefix"
- "/calrissian/tmpout/"
- "--outdir"
- "/calrissian/output-data/"
- "--usage-report"
- "/calrissian/output-data/revsort-usage.json"
- "/calrissian/input-data/revsort-array.cwl"
- "/calrissian/input-data/revsort-array-job.json"
volumeMounts:
- mountPath: /calrissian/input-data
name: calrissian-input-data
- mountPath: /calrissian/tmpout
name: calrissian-tmpout
- mountPath: /calrissian/tmptmp
name: calrissian-tmp
- mountPath: /calrissian/output-data
name: calrissian-output-data
env:
- name: CALRISSIAN_POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
restartPolicy: Never
volumes:
- name: calrissian-input-data
persistentVolumeClaim:
claimName: calrissian-input-data
- name: calrissian-tmpout
persistentVolumeClaim:
claimName: calrissian-tmpout
- name: calrissian-tmp
persistentVolumeClaim:
claimName: calrissian-tmp
- name: calrissian-output-data
persistentVolumeClaim:
claimName: calrissian-output-data
backOffLimit: 0