File tree 3 files changed +5
-8
lines changed
3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ kind: Job
3
3
metadata :
4
4
name : lm-mpi-job
5
5
spec :
6
- minAvailable : 2
6
+ minAvailable : 3
7
7
schedulerName : kube-batch
8
8
plugins :
9
9
ssh : []
24
24
MPI_HOST=`cat /etc/volcano/mpiworker.host | tr "\n" ","`;
25
25
mkdir -p /var/run/sshd; /usr/sbin/sshd;
26
26
mpiexec --allow-run-as-root --host ${MPI_HOST} -np 2 mpi_hello_world > /home/re;
27
- # TODO: use volcano repo instead in the future.
28
- image : tommylike/volcano-example-mpi:0.0.1
27
+ image : volcanosh/example-mpi:0.0.1
29
28
name : mpimaster
30
29
ports :
31
30
- containerPort : 22
42
41
- -c
43
42
- |
44
43
mkdir -p /var/run/sshd; /usr/sbin/sshd -D;
45
- image : tommylike/volcano- example-mpi:0.0.1
44
+ image : volcanosh/ example-mpi:0.0.1
46
45
name : mpiworker
47
46
ports :
48
47
- containerPort : 22
Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ export VK_BIN=${VK_ROOT}/_output/bin
5
5
export LOG_LEVEL=3
6
6
export SHOW_VOLCANO_LOGS=${SHOW_VOLCANO_LOGS:- 1}
7
7
export CLEANUP_CLUSTER=${CLEANUP_CLUSTER:- 1}
8
- # TODO: Use volcano repo instead in the future
9
- export MPI_EXAMPLE_IMAGE=${MPI_EXAMPLE_IMAGE:- " tommylike/volcano-example-mpi:0.0.1" }
8
+ export MPI_EXAMPLE_IMAGE=${MPI_EXAMPLE_IMAGE:- " volcanosh/example-mpi:0.0.1" }
10
9
11
10
if [[ " ${CLUSTER_NAME} xxx" != " xxx" ]]; then
12
11
export CLUSTER_CONTEXT=" --name ${CLUSTER_NAME} "
Original file line number Diff line number Diff line change @@ -59,8 +59,7 @@ const (
59
59
masterPriority = "master-pri"
60
60
defaultNginxImage = "nginx:1.14"
61
61
defaultBusyBoxImage = "busybox:1.24"
62
- //TODO: Use volcano repo instead in the future
63
- defaultMPIImage = "tommylike/volcano-example-mpi:0.0.1"
62
+ defaultMPIImage = "volcanosh/example-mpi:0.0.1"
64
63
)
65
64
66
65
func cpuResource (request string ) v1.ResourceList {
You can’t perform that action at this time.
0 commit comments