Skip to content

Commit 5227fe9

Browse files
authored
Merge pull request #44491 from 1000Delta/zh_job_fix_anchor
[zh] Sync controllers/job.md and fix link anchor
2 parents d6a937b + fc4b3ca commit 5227fe9

File tree

1 file changed

+11
-6
lines changed
  • content/zh-cn/docs/concepts/workloads/controllers

1 file changed

+11
-6
lines changed

content/zh-cn/docs/concepts/workloads/controllers/job.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ from failed Jobs is not lost inadvertently.
650650
-->
651651
### 逐索引的回退限制 {#backoff-limit-per-index}
652652

653-
{{< feature-state for_k8s_version="v1.28" state="alpha" >}}
653+
{{< feature-state for_k8s_version="v1.29" state="beta" >}}
654654

655655
{{< note >}}
656656
<!--
@@ -1262,7 +1262,7 @@ Here, `W` is the number of work items.
12621262
| 模式 | `.spec.completions` | `.spec.parallelism` |
12631263
| ----- |:-------------------:|:--------------------:|
12641264
| [每工作条目一 Pod 的队列](/zh-cn/docs/tasks/job/coarse-parallel-processing-work-queue/) | W | 任意值 |
1265-
| [Pod 个数可变的队列](/zh-cn/docs/tasks/job/fine-parallel-processing-work-queue/) | 1 | 任意值 |
1265+
| [Pod 数量可变的队列](/zh-cn/docs/tasks/job/fine-parallel-processing-work-queue/) | 1 | 任意值 |
12661266
| [静态任务分派的带索引的 Job](/zh-cn/docs/tasks/job/indexed-parallel-processing-static) | W | | 任意值 |
12671267
| [带 Pod 间通信的 Job](/zh-cn/docs/tasks/job/job-with-pod-to-pod-communication/) | W | W |
12681268
| [Job 模板扩展](/zh-cn/docs/tasks/job/parallel-processing-expansion/) | 1 | 应该为 1 |
@@ -1378,6 +1378,9 @@ Job 的 `status` 可以用来确定 Job 是否被挂起,或者曾经被挂起
13781378
kubectl get jobs/myjob -o yaml
13791379
```
13801380

1381+
<!--
1382+
# .metadata and .spec omitted
1383+
-->
13811384
```yaml
13821385
apiVersion: batch/v1
13831386
kind: Job
@@ -1623,7 +1626,7 @@ observe that pods from a Job are stucked with the tracking finalizer.
16231626
<!--
16241627
### Elastic Indexed Jobs
16251628
-->
1626-
### 弹性索引 Job {#elastic-indexed-job}
1629+
### 弹性索引 Job {#elastic-indexed-jobs}
16271630

16281631
{{< feature-state for_k8s_version="v1.27" state="beta" >}}
16291632

@@ -1649,15 +1652,17 @@ scaling an indexed Job, such as MPI, Horovord, Ray, and PyTorch training jobs.
16491652
-->
16501653
### 延迟创建替换 Pod {#pod-replacement-policy}
16511654

1652-
{{< feature-state for_k8s_version="v1.28" state="alpha" >}}
1655+
{{< feature-state for_k8s_version="v1.29" state="beta" >}}
16531656

16541657
{{< note >}}
16551658
<!--
16561659
You can only set `podReplacementPolicy` on Jobs if you enable the `JobPodReplacementPolicy`
1657-
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/).
1660+
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
1661+
(enabled by default).
1662+
16581663
-->
16591664
你只有在启用了 `JobPodReplacementPolicy`
1660-
[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)后,
1665+
[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)(默认启用)
16611666
才能为 Job 设置 `podReplacementPolicy`
16621667
{{< /note >}}
16631668

0 commit comments

Comments
 (0)