Skip to content

Commit 1e9c52a

Browse files
authored
Merge pull request #42143 from KKtheGhost/sync/concepts_workloads_updates
[zh] sync workloads/controllers/*.md headers for #42004
2 parents 368c15d + eac5ae4 commit 1e9c52a

File tree

5 files changed

+34
-1
lines changed

5 files changed

+34
-1
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
---
22
title: DaemonSet
3+
description: >-
4+
DaemonSet 定义了提供节点本地设施的 Pod。这些设施可能对于集群的运行至关重要,例如网络辅助工具,或者作为 add-on 的一部分。
35
content_type: concept
46
weight: 40
7+
hide_summary: true # 在章节索引中单独列出
58
---
69

710
<!--
@@ -12,8 +15,11 @@ reviewers:
1215
- janetkuo
1316
- kow3ns
1417
title: DaemonSet
18+
description: >-
19+
A DaemonSet defines Pods that provide node-local facilities. These might be fundamental to the operation of your cluster, such as a networking helper tool, or be part of an add-on.
1520
content_type: concept
1621
weight: 40
22+
hide_summary: true # Listed separately in section index
1723
--->
1824

1925
<!-- overview -->

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ feature:
44
title: 自动化上线和回滚
55
description: >
66
Kubernetes 会分步骤地将针对应用或其配置的更改上线,同时监视应用程序运行状况以确保你不会同时终止所有实例。如果出现问题,Kubernetes 会为你回滚所作更改。你应该充分利用不断成长的部署方案生态系统。
7+
description: >-
8+
Deployment 用于管理运行一个应用负载的一组 Pod,通常适用于不保持状态的负载。
79
content_type: concept
810
weight: 10
11+
hide_summary: true # 在章节索引中单独列出
912
---
1013
<!--
1114
reviewers:
@@ -15,9 +18,11 @@ feature:
1518
title: Automated rollouts and rollbacks
1619
description: >
1720
Kubernetes progressively rolls out changes to your application or its configuration, while monitoring application health to ensure it doesn't kill all your instances at the same time. If something goes wrong, Kubernetes will rollback the change for you. Take advantage of a growing ecosystem of deployment solutions.
18-
21+
description: >-
22+
A Deployment manages a set of Pods to run an application workload, usually one that doesn't maintain state.
1923
content_type: concept
2024
weight: 10
25+
hide_summary: true # Listed separately in section index
2126
-->
2227

2328
<!-- overview -->

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
---
22
title: Job
33
content_type: concept
4+
description: >-
5+
Job 表示一次性任务,运行完成后就会停止。
46
feature:
57
title: 批量执行
68
description: >
79
除了服务之外,Kubernetes 还可以管理你的批处理和 CI 工作负载,在期望时替换掉失效的容器。
810
weight: 50
11+
hide_summary: true # 在章节索引中单独列出
912
---
1013
<!--
1114
reviewers:
@@ -14,11 +17,14 @@ reviewers:
1417
- soltysh
1518
title: Jobs
1619
content_type: concept
20+
description: >-
21+
Jobs represent one-off tasks that run to completion and then stop.
1722
feature:
1823
title: Batch execution
1924
description: >
2025
In addition to services, Kubernetes can manage your batch and CI workloads, replacing containers that fail, if desired.
2126
weight: 50
27+
hide_summary: true # Listed separately in section index
2228
-->
2329

2430
<!-- overview -->

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ feature:
88
杀死不响应用户定义的健康检查的容器,
99
并且在它们准备好服务之前不会将它们公布给客户端。
1010
content_type: concept
11+
description: >-
12+
ReplicaSet 的作用是维持在任何给定时间运行的一组稳定的副本 Pod。
13+
通常,你会定义一个 Deployment,并用这个 Deployment 自动管理 ReplicaSet。
1114
weight: 20
15+
hide_summary: true # 在章节索引中单独列出
1216
---
1317
<!--
1418
reviewers:
@@ -24,7 +28,11 @@ feature:
2428
kills containers that don't respond to your user-defined health check,
2529
and doesn't advertise them to clients until they are ready to serve.
2630
content_type: concept
31+
description: >-
32+
A ReplicaSet's purpose is to maintain a stable set of replica Pods running at any given time.
33+
Usually, you define a Deployment and let that Deployment manage ReplicaSets automatically.
2734
weight: 20
35+
hide_summary: true # Listed separately in section index
2836
-->
2937

3038
<!-- overview -->

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
22
title: StatefulSet
33
content_type: concept
4+
description: >-
5+
StatefulSet 运行一组 Pod,并为每个 Pod 保留一个稳定的标识。
6+
这可用于管理需要持久化存储或稳定、唯一网络标识的应用。
47
weight: 30
8+
hide_summary: true # 在章节索引中单独列出
59
---
610
<!--
711
reviewers:
@@ -13,7 +17,11 @@ reviewers:
1317
- smarterclayton
1418
title: StatefulSets
1519
content_type: concept
20+
description: >-
21+
A StatefulSet runs a group of Pods, and maintains a sticky identity for each of those Pods. This is useful for managing
22+
applications that need persistent storage or a stable, unique network identity.
1623
weight: 30
24+
hide_summary: true # Listed separately in section index
1725
-->
1826

1927
<!-- overview -->

0 commit comments

Comments
 (0)