Skip to content

Commit ef6997a

Browse files
authored
Merge pull request #49212 from lixiv/zh-workload-spec
[zh] unify spec section translation for all workloads
2 parents 03ae214 + 80a8759 commit ef6997a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ section.
114114
DaemonSet 对象的名称必须是一个合法的
115115
[DNS 子域名](/zh-cn/docs/concepts/overview/working-with-objects/names#dns-subdomain-names)
116116

117-
DaemonSet 也需要 [`.spec`](https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status) 节区
117+
DaemonSet 也需要 [`.spec` 部分](https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status)
118118

119119
<!--
120120
### Pod Template

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ Job 的名字必须是合法的 [DNS 子域名](/zh-cn/docs/concepts/overview/wo
273273
[DNS 标签](/zh-cn/docs/concepts/overview/working-with-objects/names#dns-label-names)规则。
274274
即使该名字被要求遵循 DNS 子域名规则,也不得超过 63 个字符。
275275

276-
Job 配置还需要一个 [`.spec` ](https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status)
276+
Job 配置还需要一个 [`.spec` 部分](https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status)
277277

278278
<!--
279279
### Job Labels

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,7 @@ A ReplicaSet also needs a [`.spec` section](https://git.k8s.io/community/contrib
391391
[DNS 标签](/zh-cn/docs/concepts/overview/working-with-objects/names#dns-label-names)规则。
392392

393393
ReplicaSet 也需要
394-
[`.spec`](https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status)
395-
部分。
394+
[`.spec` 部分](https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status)
396395

397396
<!--
398397
### Pod Template

0 commit comments

Comments
 (0)