-
Notifications
You must be signed in to change notification settings - Fork 16
/
CalrissianJob-revsort-single-default-container.yaml
53 lines (53 loc) · 1.51 KB
/
CalrissianJob-revsort-single-default-container.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
---
apiVersion: batch/v1
kind: Job
metadata:
name: calrissian-revsort-single-default-container
spec:
template:
spec:
containers:
- name: calrissian
image: dukegcb/calrissian:latest
securityContext:
runAsUser: 1000
runAsGroup: 1000
command: ["calrissian"]
args:
- "--default-container"
- "debian:stretch-slim"
- "--max-ram"
- "16G"
- "--max-cores"
- "8"
- "--tmp-outdir-prefix"
- "/calrissian/tmpout/"
- "--outdir"
- "/calrissian/output-data/"
- "/calrissian/input-data/revsort-single-no-docker.cwl"
- "/calrissian/input-data/revsort-single-job.json"
volumeMounts:
- mountPath: /calrissian/input-data
name: calrissian-input-data
readOnly: true
- mountPath: /calrissian/tmpout
name: calrissian-tmpout
- 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
readOnly: true
- name: calrissian-tmpout
persistentVolumeClaim:
claimName: calrissian-tmpout
- name: calrissian-output-data
persistentVolumeClaim:
claimName: calrissian-output-data