Skip to content

Commit 57b990b

Browse files
author
Klaus Ma
authored
Merge pull request volcano-sh#52 from volcano-sh/bug/fix_mpi_example_issue
2 parents 4be56b9 + cd07f04 commit 57b990b

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

example/integrations/mpi/mpi-example.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Job
33
metadata:
44
name: lm-mpi-job
55
spec:
6-
minAvailable: 2
6+
minAvailable: 3
77
schedulerName: kube-batch
88
plugins:
99
ssh: []
@@ -24,8 +24,7 @@ spec:
2424
MPI_HOST=`cat /etc/volcano/mpiworker.host | tr "\n" ","`;
2525
mkdir -p /var/run/sshd; /usr/sbin/sshd;
2626
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
2928
name: mpimaster
3029
ports:
3130
- containerPort: 22
@@ -42,7 +41,7 @@ spec:
4241
- -c
4342
- |
4443
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
4645
name: mpiworker
4746
ports:
4847
- containerPort: 22

hack/run-e2e-kind.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ export VK_BIN=${VK_ROOT}/_output/bin
55
export LOG_LEVEL=3
66
export SHOW_VOLCANO_LOGS=${SHOW_VOLCANO_LOGS:-1}
77
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"}
109

1110
if [[ "${CLUSTER_NAME}xxx" != "xxx" ]];then
1211
export CLUSTER_CONTEXT="--name ${CLUSTER_NAME}"

test/e2e/util.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ const (
5959
masterPriority = "master-pri"
6060
defaultNginxImage = "nginx:1.14"
6161
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"
6463
)
6564

6665
func cpuResource(request string) v1.ResourceList {

0 commit comments

Comments
 (0)