-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun-pair-model.yaml
40 lines (40 loc) · 1.44 KB
/
run-pair-model.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
apiVersion: batch/v1
kind: Job
metadata:
name: log-reg1
spec:
template:
spec:
priorityClassName: research-med
containers:
- name: custom-container-name
image: ls6-stud-registry.informatik.uni-wuerzburg.de/extgruenlab3/linux
imagePullPolicy: "Always"
env:
- name: kallisto
value: "hello"
- name: bustools # example usage of env variable
value: "/mydir"
resources:
limits:
cpu: "2"
memory: "4Gi"
requests:
cpu: "2"
memory: "4Gi"
command: ["python","-u", "/home/ext/gruenlab3/neighbor_analysis/ScienceJeffrey2018/4expected/Run_LogisticRegressionForSpatial_important_pairs_standard.py"]
volumeMounts:
- mountPath: /home/ext/gruenlab3/neighbor_analysis/ScienceJeffrey2018
name: localdir
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: extgruenlab3 # <namespace>
path: "/home/ext/gruenlab3/neighbor_analysis/ScienceJeffrey2018" # The path you want to mount
secretRef: # The name of the secret for auth. Is always "ceph-secret"
name: ceph-secret