-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathta3_only.yaml
127 lines (127 loc) · 3.13 KB
/
ta3_only.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
apiVersion: v1
kind: Service
metadata:
name: tufts-isi-baseball
labels:
app: tufts-isi-baseball
spec:
loadBalancerIP: 10.108.25.33
type: LoadBalancer
ports:
- name: http
port: 8080
protocol: TCP
targetPort: 8080
selector:
app: tufts-isi-baseball
---
apiVersion: v1
kind: Pod
metadata:
name: tufts-isi-baseball
labels:
app: tufts-isi-baseball
spec:
restartPolicy: Never
containers:
- name: isi-ta2
imagePullPolicy: Always
image: registry.datadrivendiscovery.org/ta2-submissions/ta2-isi/ta3ta2/ta3ta2-image
env:
- name: D3MRUN
value: "ta2ta3"
- name: D3MINPUTDIR
value: "/input"
- name: D3MOUTPUTDIR
value: "/output"
- name: D3MSTATICDIR
value: "/static"
- name: D3MPROBLEMPATH
value: "/input/TRAIN/problem_TRAIN/problemDoc.json"
- name: D3MLOCALDIR
value: "/output/D3MLOCALDIR"
- name: D3MCPU
value: "8"
- name: D3MRAM
value: "28Gi"
- name: D3MTIMEOUT
value: "600"
volumeMounts:
- name: input-data
mountPath: /input
readOnly: true
- name: output-data
mountPath: /output
readOnly: false
- name: static-data
mountPath: /static
readOnly: true
resources:
requests:
memory: 28Gi
cpu: 6
ports:
- containerPort: 45042
hostPort: 45042
# TUFTS TA3
- name: tufts-ta3
image: registry.datadrivendiscovery.org/ta3-submissions/ta3-tufts/mar-2019-submission
imagePullPolicy: Always
command: [./ta3_search]
args:
- dataset:__direct__
env:
- name: D3MRUN
value: "ta2ta3"
- name: D3MINPUTDIR
value: "/input"
- name: D3MOUTPUTDIR
value: "/output"
- name: D3MLOCALDIR
value: "/output/D3MLOCALDIR"
- name: D3MSTATICDIR
value: "/static"
- name: D3MPROBLEMPATH
value: "/input/TRAIN/problem_TRAIN/problemDoc.json"
- name: D3MLOCALDIR
value: "/output/D3MLOCALDIR"
- name: D3MCPU
value: "2"
- name: D3MRAM
value: "10Gi"
- name: D3MTIMEOUT
value: "600"
- name: TA2_PORT
value: "45042"
volumeMounts:
- name: input-data
mountPath: /input
readOnly: true
- name: output-data
mountPath: /output
readOnly: false
- name: static-data
mountPath: /static
readOnly: true
ports:
- name: http
containerPort: 8080
resources:
requests:
# that's what we've been testing on:
memory: 5Gi
cpu: 1
imagePullSecrets:
- name: regcred-cl
volumes:
- name: input-data
hostPath:
path: /opt/datasets/seed_datasets_current/185_baseball
type: Directory
- name: static-data
hostPath:
path: /opt/static_files/
type: Directory
- name: output-data
persistentVolumeClaim:
claimName: eval-output-pv-claim