Skip to content

Commit

Permalink
Merge pull request #291 from hzxuzhonghu/image-migration
Browse files Browse the repository at this point in the history
migrate image to volcanosh
  • Loading branch information
volcano-sh-bot authored Jul 5, 2019
2 parents 22a297e + 935a227 commit 0025f7e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/samples/kubecon-2019-china/gang/mpi-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,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 3 mpi_hello_world;
image: swr.cn-north-1.myhuaweicloud.com/hwstaff_z00383385/example-mpi:0.0.1
image: volcanosh/example-mpi:0.0.1
name: mpimaster
ports:
- containerPort: 22
Expand All @@ -60,7 +60,7 @@ spec:
- -c
- |
mkdir -p /var/run/sshd; /usr/sbin/sshd -D;
image: swr.cn-north-1.myhuaweicloud.com/hwstaff_z00383385/example-mpi:0.0.1
image: volcanosh/example-mpi:0.0.1
name: mpiworker
ports:
- containerPort: 22
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
WORKER_HOST=`cat /etc/volcano/worker.host | tr "\n" ","`;
mkdir -p /var/run/sshd; /usr/sbin/sshd;
mpiexec --allow-run-as-root --host ${WORKER_HOST} -np 3 python tensorflow_mnist_lm.py;
image: swr.cn-north-1.myhuaweicloud.com/hwstaff_z00383385/horovod-tf-mnist:0.5
image: volcanosh/horovod-tf-mnist:0.5
name: master
ports:
- containerPort: 22
Expand All @@ -55,7 +55,7 @@ spec:
- -c
- |
mkdir -p /var/run/sshd; /usr/sbin/sshd -D;
image: swr.cn-north-1.myhuaweicloud.com/hwstaff_z00383385/horovod-tf-mnist:0.5
image: volcanosh/horovod-tf-mnist:0.5
name: worker
ports:
- containerPort: 22
Expand Down
4 changes: 2 additions & 2 deletions docs/samples/kubecon-2019-china/mpi-sample/mpi-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,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;
image: swr.cn-north-1.myhuaweicloud.com/hwstaff_z00383385/example-mpi:0.0.1
image: volcanosh/example-mpi:0.0.1
name: mpimaster
ports:
- containerPort: 22
Expand All @@ -62,7 +62,7 @@ spec:
- -c
- |
mkdir -p /var/run/sshd; /usr/sbin/sshd -D;
image: swr.cn-north-1.myhuaweicloud.com/hwstaff_z00383385/example-mpi:0.0.1
image: volcanosh/example-mpi:0.0.1
name: mpiworker
ports:
- containerPort: 22
Expand Down
2 changes: 1 addition & 1 deletion docs/samples/kubecon-2019-china/spark-sample/spark-pi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ metadata:
spec:
type: Scala
mode: cluster
image: "swr.cn-north-1.myhuaweicloud.com/hwstaff_z00383385/spark:v2.4.0"
image: "volcanosh/spark:v2.4.0"
imagePullPolicy: Always
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: "local:///opt/spark/examples/jars/spark-examples_2.11-2.4.0.jar"
Expand Down
4 changes: 2 additions & 2 deletions docs/samples/kubecon-2019-china/tf-sample/tf-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
PS_HOST=`cat /etc/volcano/ps.host | sed 's/$/&:2222/g' | tr "\n" ","`;
WORKER_HOST=`cat /etc/volcano/worker.host | sed 's/$/&:2222/g' | tr "\n" ","`;
python tf_cnn_benchmarks.py --batch_size=32 --model=resnet50 --variable_update=parameter_server --flush_stdout=true --num_gpus=1 --local_parameter_device=cpu --device=cpu --data_format=NHWC --job_name=ps --task_index=${VK_TASK_INDEX} --ps_hosts=${PS_HOST} --worker_hosts=${WORKER_HOST}
image: swr.cn-north-1.myhuaweicloud.com/hwstaff_z00383385/example-tf:0.0.1
image: volcanosh/example-tf:0.0.1
name: tensorflow
ports:
- containerPort: 2222
Expand Down Expand Up @@ -91,7 +91,7 @@ spec:
PS_HOST=`cat /etc/volcano/ps.host | sed 's/$/&:2222/g' | tr "\n" ","`;
WORKER_HOST=`cat /etc/volcano/worker.host | sed 's/$/&:2222/g' | tr "\n" ","`;
python tf_cnn_benchmarks.py --batch_size=32 --model=resnet50 --variable_update=parameter_server --flush_stdout=true --num_gpus=1 --local_parameter_device=cpu --device=cpu --data_format=NHWC --job_name=worker --task_index=${VK_TASK_INDEX} --ps_hosts=${PS_HOST} --worker_hosts=${WORKER_HOST}
image: swr.cn-north-1.myhuaweicloud.com/hwstaff_z00383385/example-tf:0.0.1
image: volcanosh/example-tf:0.0.1
name: tensorflow
ports:
- containerPort: 2222
Expand Down

0 comments on commit 0025f7e

Please sign in to comment.