Update references to proper subdirectory (#8686)

This commit is contained in:
Nick Birnberg 2018-05-23 01:30:33 -04:00 committed by k8s-ci-robot
parent 3d95cccc2b
commit 95a5f2245a
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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/<project>/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.