add en pages

This commit is contained in:
Karen Bradshaw
2020-05-30 15:10:23 -04:00
parent 1502e0281d
commit ecc27bbbe7
347 changed files with 2900 additions and 2537 deletions
@@ -1,11 +1,11 @@
---
title: Fine Parallel Processing Using a Work Queue
content_template: templates/task
content_type: task
min-kubernetes-server-version: v1.8
weight: 40
---
{{% capture overview %}}
<!-- overview -->
In this example, we will run a Kubernetes Job with multiple parallel
worker processes in a given pod.
@@ -25,23 +25,24 @@ Here is an overview of the steps in this example:
1. **Start a Job that works on tasks from the queue**. The Job starts several pods. Each pod takes
one task from the message queue, processes it, and repeats until the end of the queue is reached.
{{% /capture %}}
{{% capture prerequisites %}}
## {{% heading "prerequisites" %}}
{{< include "task-tutorial-prereqs.md" >}}
{{% /capture %}}
{{% capture steps %}}
<!-- steps -->
Be familiar with the basic,
non-parallel, use of [Job](/docs/concepts/jobs/run-to-completion-finite-workloads/).
{{% /capture %}}
{{% capture steps %}}
<!-- steps -->
## Starting Redis
@@ -226,9 +227,9 @@ Working on lemon
As you can see, one of our pods worked on several work units.
{{% /capture %}}
{{% capture discussion %}}
<!-- discussion -->
## Alternatives
@@ -240,4 +241,4 @@ consider running your background workers with a `ReplicaSet` instead,
and consider running a background processing library such as
[https://github.com/resque/resque](https://github.com/resque/resque).
{{% /capture %}}