Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix comment issue for MPI example MR #52

Merged
merged 1 commit into from
Mar 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions example/integrations/mpi/mpi-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Job
metadata:
name: lm-mpi-job
spec:
minAvailable: 2
minAvailable: 3
schedulerName: kube-batch
plugins:
ssh: []
Expand All @@ -24,8 +24,7 @@ spec:
MPI_HOST=`cat /etc/volcano/mpiworker.host | tr "\n" ","`;
mkdir -p /var/run/sshd; /usr/sbin/sshd;
mpiexec --allow-run-as-root --host ${MPI_HOST} -np 2 mpi_hello_world > /home/re;
#TODO: use volcano repo instead in the future.
image: tommylike/volcano-example-mpi:0.0.1
image: volcanosh/example-mpi:0.0.1
name: mpimaster
ports:
- containerPort: 22
Expand All @@ -42,7 +41,7 @@ spec:
- -c
- |
mkdir -p /var/run/sshd; /usr/sbin/sshd -D;
image: tommylike/volcano-example-mpi:0.0.1
image: volcanosh/example-mpi:0.0.1
name: mpiworker
ports:
- containerPort: 22
Expand Down
3 changes: 1 addition & 2 deletions hack/run-e2e-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ export VK_BIN=${VK_ROOT}/_output/bin
export LOG_LEVEL=3
export SHOW_VOLCANO_LOGS=${SHOW_VOLCANO_LOGS:-1}
export CLEANUP_CLUSTER=${CLEANUP_CLUSTER:-1}
#TODO: Use volcano repo instead in the future
export MPI_EXAMPLE_IMAGE=${MPI_EXAMPLE_IMAGE:-"tommylike/volcano-example-mpi:0.0.1"}
export MPI_EXAMPLE_IMAGE=${MPI_EXAMPLE_IMAGE:-"volcanosh/example-mpi:0.0.1"}

if [[ "${CLUSTER_NAME}xxx" != "xxx" ]];then
export CLUSTER_CONTEXT="--name ${CLUSTER_NAME}"
Expand Down
3 changes: 1 addition & 2 deletions test/e2e/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ const (
masterPriority = "master-pri"
defaultNginxImage = "nginx:1.14"
defaultBusyBoxImage = "busybox:1.24"
//TODO: Use volcano repo instead in the future
defaultMPIImage = "tommylike/volcano-example-mpi:0.0.1"
defaultMPIImage = "volcanosh/example-mpi:0.0.1"
)

func cpuResource(request string) v1.ResourceList {
Expand Down