-
Notifications
You must be signed in to change notification settings - Fork 0
/
run-kallisto.yaml
52 lines (50 loc) · 1.66 KB
/
run-kallisto.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
apiVersion: batch/v1
kind: Job
metadata:
name: test-scratch
spec:
template:
spec:
priorityClassName: research-med
containers:
- name: custom-container-name
image: ls6-stud-registry.informatik.uni-wuerzburg.de/extgruenlab3/base_kallisto
imagePullPolicy: "Always"
env:
- name: kallisto
value: "hello"
- name: bustools # example usage of env variable
value: "/mydir"
resources:
limits:
cpu: "4"
memory: "64Gi"
requests:
cpu: "4"
memory: "64Gi"
command: ["/home/ext/agrawal/FastqFiles/map_transcriptome.sh"]
volumeMounts:
- mountPath: /home/ext/agrawal/
name: localdir
- mountPath: /scratch/gruenlab/repository/
name: scratchdir
imagePullSecrets:
- name: lsx-registry
restartPolicy: "Never"
volumes:
- name: localdir
cephfs:
monitors:
- 132.187.14.16,132.187.14.17,132.187.14.19,132.187.14.20 # Not important for you, just copy along
user: extagrawal # <namespace>
path: "/home/ext/agrawal/" # The path you want to mount
secretRef: # The name of the secret for auth. Is always "ceph-secret"
name: ceph-secret
- cephfs:
monitors:
- 132.187.14.16,132.187.14.17,132.187.14.19,132.187.14.20
user: extagrawal
path: /scratch/gruenlab/repository/
secretRef:
name: ceph-secret
name: scratchdir