Skip to content

Commit 9f89bf5

Browse files
committed
add mf clusters kube conf
1 parent 0969200 commit 9f89bf5

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"kind": "Job",
3+
"apiVersion": "batch/v1",
4+
"metadata": {
5+
"name": "matrix-factorization-clusters"
6+
},
7+
"spec": {
8+
"template": {
9+
"metadata": {
10+
"name": "matrix-factorization-clusters"
11+
},
12+
"spec": {
13+
"volumes": [
14+
{
15+
"name": "data-volume",
16+
"hostPath": {"path": "/seldon-data"}
17+
}
18+
],
19+
"containers": [
20+
{
21+
"name": "matrix-factorization-clusters",
22+
"image": "seldonio/seldon-control:2.2_v1",
23+
"command": ["luigi","--module","seldon.luigi.spark","SeldonMatrixFactorizationClusters","--local-schedule","--client","%CLIENT%","--startDay","%DAY%"],
24+
"volumeMounts": [
25+
{
26+
"name": "data-volume",
27+
"mountPath": "/seldon-data"
28+
}
29+
]
30+
}
31+
],
32+
"restartPolicy": "Never"
33+
}
34+
}
35+
}
36+
}

0 commit comments

Comments
 (0)