-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0969200
commit 9f89bf5
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
kubernetes/conf/models/matrix-factorization-clusters.json.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |