Skip to content

Commit a5aab79

Browse files
committed
[zh] Remove a repeated blog about jobs-successpolicy-goes-ga
1 parent 801cb82 commit a5aab79

File tree

2 files changed

+10
-164
lines changed

2 files changed

+10
-164
lines changed

content/zh-cn/blog/_posts/2025-04-23-jobs-successpolicy-goes-ga.md

Lines changed: 0 additions & 162 deletions
This file was deleted.

content/zh-cn/blog/_posts/2025-05-15-jobs-successpolicy-goes-ga.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ in which the leader controls the execution, including the followers' lifecycle.
3131
## 关于 Job 的成功策略 {#about-jobs-success-policy}
3232

3333
在批处理工作负载中,你可能希望使用类似
34-
[MPI](https://en.wikipedia.org/wiki/Message_Passing_Interface)
34+
[MPI(消息传递接口)](https://zh.wikipedia.org/zh-cn/%E8%A8%8A%E6%81%AF%E5%82%B3%E9%81%9E%E4%BB%8B%E9%9D%A2)
3535
的领导者跟随者(leader-follower)模式,其中领导者控制执行过程,包括跟随者的生命周期。
3636

3737
<!--
@@ -96,7 +96,15 @@ as shown below:
9696
此外,你还可以基于 `.successPolicy.rules[0].succeededCount` 限制索引编号,如下所示:
9797

9898
<!--
99-
# index of the leader Pod
99+
```yaml
100+
parallelism: 10
101+
completions: 10
102+
completionMode: Indexed
103+
successPolicy:
104+
rules:
105+
- succeededIndexes: 0 # index of the leader Pod
106+
succeededCount: 1
107+
```
100108
-->
101109
```yaml
102110
parallelism: 10

0 commit comments

Comments
 (0)