Skip to content

Commit d84a568

Browse files
authored
Merge pull request #36697 from ydFu/new-update-reference-glossary-14
[zh] Update reference\glossary (14)
2 parents c8cd6ee + bfed574 commit d84a568

File tree

5 files changed

+22
-30
lines changed

5 files changed

+22
-30
lines changed

content/zh-cn/docs/reference/glossary/finalizer.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ tags:
1111
- fundamental
1212
- operation
1313
---
14-
1514
<!--
16-
---
1715
title: Finalizer
1816
id: finalizer
1917
date: 2021-07-07
@@ -27,7 +25,6 @@ tags:
2725
- operation
2826
-->
2927

30-
3128
<!--
3229
Finalizers are namespaced keys that tell Kubernetes to wait until specific
3330
conditions are met before it fully deletes resources marked for deletion.
@@ -37,6 +34,7 @@ to clean up resources the deleted object owned.
3734
Finalizer 是带有命名空间的键,告诉 Kubernetes 等到特定的条件被满足后,
3835
再完全删除被标记为删除的资源。
3936
Finalizer 提醒{{<glossary_tooltip text="控制器" term_id="controller">}}清理被删除的对象拥有的资源。
37+
4038
<!--more-->
4139

4240
<!--
@@ -46,20 +44,20 @@ and returns a `202` status code (HTTP "Accepted"). The target object remains in
4644
control plane, or other components, take the actions defined by the finalizers.
4745
After these actions are complete, the controller removes the relevant finalizers
4846
from the target object. When the `metadata.finalizers` field is empty,
49-
Kubernetes considers the deletion complete.
47+
Kubernetes considers the deletion complete and deletes the object.
5048
-->
5149
当你告诉 Kubernetes 删除一个指定了 Finalizer 的对象时,
5250
Kubernetes API 通过填充 `.metadata.deletionTimestamp` 来标记要删除的对象,
53-
并返回`202`状态码 (HTTP "已接受") 使其进入只读状态。
51+
并返回 `202` 状态码(HTTP "已接受") 使其进入只读状态。
5452
此时控制平面或其他组件会采取 Finalizer 所定义的行动,
5553
而目标对象仍然处于终止中(Terminating)的状态。
5654
这些行动完成后,控制器会删除目标对象相关的 Finalizer。
57-
`metadata.finalizers` 字段为空时,Kubernetes 认为删除已完成
55+
`metadata.finalizers` 字段为空时,Kubernetes 认为删除已完成并删除对象
5856

5957
<!--
6058
You can use finalizers to control {{<glossary_tooltip text="garbage collection" term_id="garbage-collection">}}
6159
of resources. For example, you can define a finalizer to clean up related resources or
6260
infrastructure before the controller deletes the target resource.
6361
-->
6462
你可以使用 Finalizer 控制资源的{{<glossary_tooltip text="垃圾收集" term_id="garbage-collection">}}。
65-
例如,你可以定义一个 Finalizer,在删除目标资源前清理相关资源或基础设施。
63+
例如,你可以定义一个 Finalizer,在删除目标资源前清理相关资源或基础设施。

content/zh-cn/docs/reference/glossary/flexvolume.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ aka:
1212
tags:
1313
- storage
1414
---
15-
1615
<!--
1716
title: FlexVolume
1817
id: flexvolume
@@ -24,6 +23,7 @@ aka:
2423
tags:
2524
- storage
2625
-->
26+
2727
<!--
2828
FlexVolume is a deprecated interface for creating out-of-tree volume plugins. The {{< glossary_tooltip text="Container Storage Interface" term_id="csi" >}} is a newer interface that addresses several problems with FlexVolume.
2929
-->

content/zh-cn/docs/reference/glossary/garbage-collection.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: 垃圾收集
2+
title: 垃圾收集(Garbage Collection)
33
id: garbage-collection
44
date: 2021-07-07
5-
full_link: /zh-cn/docs/concepts/workloads/controllers/garbage-collection/
5+
full_link: /zh-cn/docs/concepts/architecture/garbage-collection/
66
short_description: >
77
Kubernetes 用于清理集群资源的各种机制的统称。
88
@@ -15,7 +15,7 @@ tags:
1515
title: Garbage Collection
1616
id: garbage-collection
1717
date: 2021-07-07
18-
full_link: /docs/concepts/workloads/controllers/garbage-collection/
18+
full_link: /docs/concepts/architecture/garbage-collection/
1919
short_description: >
2020
A collective term for the various mechanisms Kubernetes uses to clean up cluster
2121
resources.
@@ -30,7 +30,7 @@ tags:
3030
Garbage collection is a collective term for the various mechanisms Kubernetes uses to clean up
3131
cluster resources.
3232
-->
33-
垃圾收集是 Kubernetes 用于清理集群资源的各种机制的统称。
33+
垃圾收集(Garbage Collection)是 Kubernetes 用于清理集群资源的各种机制的统称。
3434

3535
<!--more-->
3636

@@ -47,4 +47,4 @@ Kubernetes 使用垃圾收集机制来清理资源,例如:
4747
[失败的 Pod](/zh-cn/docs/concepts/workloads/pods/pod-lifecycle/#pod-garbage-collection)
4848
[目标资源拥有的对象](/zh-cn/docs/concepts/overview/working-with-objects/owners-dependents/)
4949
[已完成的 Job](/zh-cn/docs/concepts/workloads/controllers/ttlafterfinished/)
50-
过期或出错的资源。
50+
过期或出错的资源。

content/zh-cn/docs/reference/glossary/helm-chart.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,30 @@
22
title: Helm Chart
33
id: helm-chart
44
date: 2018-04-12
5-
full_link: https://github.com/kubernetes/helm/blob/master/docs/charts.md
5+
full_link: https://helm.sh/docs/topics/charts/
66
short_description: >
77
Helm Chart 是一组预先配置的 Kubernetes 资源所构成的包,可以使用 Helm 工具对其进行管理。
88
99
aka:
1010
tags:
1111
- tool
1212
---
13-
1413
<!--
15-
---
1614
title: Helm Chart
1715
id: helm-chart
1816
date: 2018-04-12
19-
full_link: https://github.com/kubernetes/helm/blob/master/docs/charts.md
17+
full_link: https://helm.sh/docs/topics/charts/
2018
short_description: >
2119
A package of pre-configured Kubernetes resources that can be managed with the Helm tool.
2220
2321
aka:
2422
tags:
2523
- tool
26-
---
2724
-->
2825

2926
<!--
3027
A package of pre-configured Kubernetes resources that can be managed with the Helm tool.
3128
-->
32-
3329
Helm Chart 是一组预先配置的 Kubernetes 资源所构成的包,可以使用 Helm 工具对其进行管理。
3430

3531
<!--more-->
@@ -38,7 +34,6 @@ Helm Chart 是一组预先配置的 Kubernetes 资源所构成的包,可以使
3834
Charts provide a reproducible way of creating and sharing Kubernetes applications.
3935
A single chart can be used to deploy something simple, like a memcached Pod, or something complex, like a full web app stack with HTTP servers, databases, caches, and so on.
4036
-->
41-
4237
Chart 提供了一种可重现的用来创建和共享 Kubernetes 应用的方法。
43-
单个 Chart 可用来部署简单的系统(例如一个 memcached Pod),
44-
也可以用来部署复杂的系统(例如包含 HTTP 服务器、数据库、缓存等组件的完整 Web 应用堆栈)。
38+
单个 Chart 可用来部署简单的系统(例如:memcached Pod),
39+
也可以用来部署复杂的系统(例如:HTTP 服务器、数据库、缓存等组件的完整 Web 应用堆栈)。

content/zh-cn/docs/reference/glossary/horizontal-pod-autoscaler.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ aka:
1111
tags:
1212
- operation
1313
---
14-
1514
<!--
16-
---
1715
title: Horizontal Pod Autoscaler
1816
id: horizontal-pod-autoscaler
1917
date: 2018-04-12
@@ -25,18 +23,19 @@ aka:
2523
- HPA
2624
tags:
2725
- operation
28-
---
2926
-->
3027

31-
Horizontal Pod Autoscaler(Pod 水平自动扩缩器)是一种 API 资源,它根据目标 CPU 利用率或自定义度量目标扩缩 Pod 副本的数量。
28+
<!--
29+
An API resource that automatically scales the number of {{< glossary_tooltip term_id="pod" >}} replicas based on targeted CPU utilization or custom metric targets.
30+
-->
31+
Pod 水平自动扩缩器(Horizontal Pod Autoscaler)是一种 API 资源,它根据目标 CPU 利用率或自定义度量目标扩缩 {{< glossary_tooltip term_id="pod" >}} 副本的数量。
3232

3333
<!--more-->
3434

3535
<!--
3636
HPA is typically used with {{< glossary_tooltip text="ReplicationControllers" term_id="replication-controller" >}}, {{< glossary_tooltip text="Deployments" term_id="deployment" >}}, or {{< glossary_tooltip text="ReplicaSets" term_id="replica-set" >}}. It cannot be applied to objects that cannot be scaled, for example {{< glossary_tooltip text="DaemonSets" term_id="daemonset" >}}.
3737
-->
38-
39-
HPA 通常用于 {{< glossary_tooltip text="ReplicationControllers" term_id="replication-controller" >}}
40-
、{{< glossary_tooltip text="Deployments" term_id="deployment" >}}
41-
或者 {{< glossary_tooltip text="ReplicaSets" term_id="replica-set" >}} 上。
38+
HPA 通常用于 {{< glossary_tooltip text="ReplicationController" term_id="replication-controller" >}}
39+
、{{< glossary_tooltip text="Deployment" term_id="deployment" >}}
40+
或者 {{< glossary_tooltip text="ReplicaSet" term_id="replica-set" >}} 上。
4241
HPA 不能用于不支持扩缩的对象,例如 {{< glossary_tooltip text="DaemonSets" term_id="daemonset" >}}。

0 commit comments

Comments
 (0)