Update content
This commit is contained in:
parent
03ffeccd3e
commit
4a35211c44
@ -163,7 +163,7 @@ Based on the **.spec.completions** and **.spec.Parallelism** settings, jobs are
|
||||
| Parallel jobs | One or more pods run until successful termination. | Multiple pods for processing work queues concurrently |
|
||||
+---------------------------------------------+-----------------------------------------------------------------------+-------------------------------------------------------+
|
||||
|
||||
The following is an example job, which calculates π till the 2000\ :sup:`th` digit and prints the output.
|
||||
The following is an example job, which calculates Pi till the 2000\ :sup:`th` digit and prints the output.
|
||||
|
||||
.. code-block::
|
||||
|
||||
@ -172,7 +172,7 @@ The following is an example job, which calculates π till the 2000\ :sup:`th` di
|
||||
metadata:
|
||||
name: myjob
|
||||
spec:
|
||||
completions: 50 # 50 pods need to be run to finish a job. In this example, π is printed for 50 times.
|
||||
completions: 50 # 50 pods need to be run to finish a job. In this example, Pi is printed for 50 times.
|
||||
parallelism: 5 # 5 pods are run in parallel.
|
||||
backoffLimit: 5 # The maximum number of retry times is 5.
|
||||
template:
|
||||
|
Loading…
x
Reference in New Issue
Block a user