From 34dd5fbcb9477439dc7e90656833062ad44512da Mon Sep 17 00:00:00 2001 From: Michael Kamprath Date: Thu, 12 Sep 2019 00:27:34 -0700 Subject: [PATCH] updated registry location --- spark-on-docker-swarm/build-images.sh | 8 ++++---- spark-on-docker-swarm/deploy-spark-swarm.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/spark-on-docker-swarm/build-images.sh b/spark-on-docker-swarm/build-images.sh index 3634e22..da0af03 100755 --- a/spark-on-docker-swarm/build-images.sh +++ b/spark-on-docker-swarm/build-images.sh @@ -7,9 +7,9 @@ docker build -t configured-spark-node:latest ./configured-spark-node docker build -t spark-jupyter-notebook:latest ./spark-jupyter-notebook # tag image with local repository -docker tag configured-spark-node:latest 10.1.1.1:5000/configured-spark-node:latest -docker tag spark-jupyter-notebook:latest 10.1.1.1:5000/spark-jupyter-notebook:latest +docker tag configured-spark-node:latest master:5000/configured-spark-node:latest +docker tag spark-jupyter-notebook:latest master:5000/spark-jupyter-notebook:latest # push the images to local repository -docker push 10.1.1.1:5000/configured-spark-node:latest -docker push 10.1.1.1:5000/spark-jupyter-notebook:latest +docker push master:5000/configured-spark-node:latest +docker push master:5000/spark-jupyter-notebook:latest diff --git a/spark-on-docker-swarm/deploy-spark-swarm.yml b/spark-on-docker-swarm/deploy-spark-swarm.yml index 994327c..425a403 100644 --- a/spark-on-docker-swarm/deploy-spark-swarm.yml +++ b/spark-on-docker-swarm/deploy-spark-swarm.yml @@ -1,7 +1,7 @@ version: '3' services: spark-master: - image: 10.1.1.1:5000/configured-spark-node:latest + image: master:5000/configured-spark-node:latest command: bin/spark-class org.apache.spark.deploy.master.Master -h spark-master hostname: spark-master environment: @@ -29,7 +29,7 @@ services: memory: 8G spark-worker: - image: 10.1.1.1:5000/configured-spark-node:latest + image: master:5000/configured-spark-node:latest command: bin/spark-class org.apache.spark.deploy.worker.Worker spark://spark-master:7077 hostname: spark-worker-1 environment: @@ -56,7 +56,7 @@ services: memory: 52g spark-jupyter: - image: 10.1.1.1:5000/spark-jupyter-notebook:latest + image: master:5000/spark-jupyter-notebook:latest hostname: spark-jupyter environment: PARK_PUBLIC_DNS: 10.1.1.1