From 95a5f2245a70b56cad68bdd1c64176ffdea41ef7 Mon Sep 17 00:00:00 2001 From: Nick Birnberg Date: Wed, 23 May 2018 01:30:33 -0400 Subject: [PATCH] Update references to proper subdirectory (#8686) --- .../docs/tasks/job/coarse-parallel-processing-work-queue.md | 6 +++--- .../docs/tasks/job/fine-parallel-processing-work-queue.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/en/docs/tasks/job/coarse-parallel-processing-work-queue.md b/content/en/docs/tasks/job/coarse-parallel-processing-work-queue.md index 0ae31be3fd..2fde1b5e72 100644 --- a/content/en/docs/tasks/job/coarse-parallel-processing-work-queue.md +++ b/content/en/docs/tasks/job/coarse-parallel-processing-work-queue.md @@ -172,8 +172,8 @@ example program: Now, build an image. If you are working in the source tree, then change directory to `examples/job/work-queue-1`. Otherwise, make a temporary directory, change to it, -download the [Dockerfile](coarse-parallel-processing-work-queue/Dockerfile?raw=true), -and [worker.py](coarse-parallel-processing-work-queue/worker.py?raw=true). In either case, +download the [Dockerfile](Dockerfile?raw=true), +and [worker.py](worker.py?raw=true). In either case, build the image with this command: ```shell @@ -205,7 +205,7 @@ Here is a job definition. You'll need to make a copy of the Job and edit the image to match the name you used, and call it `./job.yaml`. -{{< code file="job.yaml" >}} +{{< code file="coarse-parallel-processing-work-queue/job.yaml" >}} In this example, each pod works on one item from the queue and then exits. So, the completion count of the Job corresponds to the number of work items diff --git a/content/en/docs/tasks/job/fine-parallel-processing-work-queue.md b/content/en/docs/tasks/job/fine-parallel-processing-work-queue.md index 5dd9eddfe1..ea8612ce52 100644 --- a/content/en/docs/tasks/job/fine-parallel-processing-work-queue.md +++ b/content/en/docs/tasks/job/fine-parallel-processing-work-queue.md @@ -115,7 +115,7 @@ client library to get work. Here it is: If you are working from the source tree, change directory to the `docs/tasks/job/fine-parallel-processing-work-queue/` directory. -Otherwise, download [`worker.py`](fine-parallel-processing-work-queue/worker.py?raw=true), [`rediswq.py`](fine-parallel-processing-work-queue/rediswq.py?raw=true), and [`Dockerfile`](fine-parallel-processing-work-queue/Dockerfile?raw=true) +Otherwise, download [`worker.py`](worker.py?raw=true), [`rediswq.py`](rediswq.py?raw=true), and [`Dockerfile`](Dockerfile?raw=true) using above links. Then build the image: ```shell @@ -150,7 +150,7 @@ gcloud docker -- push gcr.io//job-wq-2 Here is the job definition: -{{< code file="job.yaml" >}} +{{< code file="fine-parallel-processing-work-queue/job.yaml" >}} Be sure to edit the job template to change `gcr.io/myproject` to your own path.