mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-09-06 05:32:03 +00:00
prototypes: sets up ks prototypes to receive image names as parameter
The image name was hardcoded. We should receive a variable with the image name instead, this will let the end user select which DLRS flavour (mkl or oss) to use. Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
This commit is contained in:
committed by
sys-jenkinsotcswstac
parent
9ce8806d5a
commit
f6f26f14e8
@@ -3,16 +3,17 @@
|
||||
// @description dlrs multi-node benchmark
|
||||
// @shortDescription A multi-node DLaaS benchmark
|
||||
// @param name string Name for the job.
|
||||
// @param image string DLRS Image name.
|
||||
|
||||
local k = import "k.libsonnet";
|
||||
|
||||
local name = params.name;
|
||||
local namespace = env.namespace;
|
||||
local image = "hub.docker.com/clearlinux/stacks-dlrs-kubeflow:latest";
|
||||
local image = params.image;
|
||||
local replicas = 3;
|
||||
|
||||
local tfjob = {
|
||||
apiVersion: "kubeflow.org/v1alpha2",
|
||||
apiVersion: "kubeflow.org/v1beta1",
|
||||
kind: "TFJob",
|
||||
metadata: {
|
||||
name: name,
|
||||
|
||||
@@ -3,16 +3,17 @@
|
||||
// @description dlrs multi-node benchmark
|
||||
// @shortDescription A multi-node DLaaS benchmark
|
||||
// @param name string Name for the job.
|
||||
// @param image string DLRS Image name.
|
||||
|
||||
local k = import "k.libsonnet";
|
||||
|
||||
local name = params.name;
|
||||
local namespace = env.namespace;
|
||||
local image = "hub.docker.com/clearlinux/stacks-dlrs-kubeflow:latest";
|
||||
local image = params.image;
|
||||
local replicas = 3;
|
||||
|
||||
local tfjob = {
|
||||
apiVersion: "kubeflow.org/v1alpha2",
|
||||
apiVersion: "kubeflow.org/v1beta1",
|
||||
kind: "TFJob",
|
||||
metadata: {
|
||||
name: name,
|
||||
|
||||
Reference in New Issue
Block a user