Merge pull request #39604 from kinzhi/kinzhi254

[zh-cn]SYNC coarse-parallel-processing-work-queue.md
pull/39663/head^2
Kubernetes Prow Robot 2023-02-25 22:16:17 -08:00 committed by GitHub
commit cd5919f3a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,7 @@ Here is an overview of the steps in this example:
1. **Create a queue, and fill it with messages.** Each message represents one task to be done. In
this example, a message is an integer that we will do a lengthy computation on.
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.
one task from the message queue, processes it, and exits.
-->
本例中,我们会运行包含多个并行工作进程的 Kubernetes Job。
@ -45,8 +45,7 @@ Here is an overview of the steps in this example:
我们将基于这个整数值执行很长的计算操作。
1. **启动一个在队列中执行这些任务的 Job**。
该 Job 启动多个 Pod。每个 Pod 从消息队列中取走一个任务,处理它,
然后重复执行,直到队列的队尾。
该 Job 启动多个 Pod。每个 Pod 从消息队列中取走一个任务,处理任务,然后退出。
## {{% heading "prerequisites" %}}