Skip to content

Commit

Permalink
add mf clusters kube conf
Browse files Browse the repository at this point in the history
  • Loading branch information
ukclivecox committed Mar 26, 2017
1 parent 0969200 commit 9f89bf5
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions kubernetes/conf/models/matrix-factorization-clusters.json.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"kind": "Job",
"apiVersion": "batch/v1",
"metadata": {
"name": "matrix-factorization-clusters"
},
"spec": {
"template": {
"metadata": {
"name": "matrix-factorization-clusters"
},
"spec": {
"volumes": [
{
"name": "data-volume",
"hostPath": {"path": "/seldon-data"}
}
],
"containers": [
{
"name": "matrix-factorization-clusters",
"image": "seldonio/seldon-control:2.2_v1",
"command": ["luigi","--module","seldon.luigi.spark","SeldonMatrixFactorizationClusters","--local-schedule","--client","%CLIENT%","--startDay","%DAY%"],
"volumeMounts": [
{
"name": "data-volume",
"mountPath": "/seldon-data"
}
]
}
],
"restartPolicy": "Never"
}
}
}
}

0 comments on commit 9f89bf5

Please sign in to comment.