Skip to content

Commit 0adc81e

Browse files
committed
[zh] Sync glossary from c to e
1 parent 0c7a258 commit 0adc81e

File tree

5 files changed

+58
-45
lines changed

5 files changed

+58
-45
lines changed

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

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,19 @@ tags:
2626
- operation
2727
- extension
2828
-->
29-
29+
3030
<!--
31-
Custom code that defines a resource to add to your Kubernetes API server without building a complete custom server.
31+
A kind of {{< glossary_tooltip text="API object" term_id="object" >}} that defines a new custom API to add
32+
to your Kubernetes API server, without building a complete custom server.
3233
-->
33-
通过定制化的代码给你的 Kubernetes API 服务器增加资源对象,而无需编译完整的定制 API 服务器。
34+
一种 {{< glossary_tooltip text="API 对象" term_id="object" >}},
35+
用于定义一个新的定制 API 添加到你的 Kubernetes API 服务器,无需构建一个完整的定制服务器。
3436

35-
<!--more-->
37+
<!--more-->
3638

3739
<!--
38-
Custom Resource Definitions let you extend the Kubernetes API for your environment if the publicly supported API resources can't meet your needs.
40+
CustomResourceDefinitions let you extend the Kubernetes API for your environment if the built-in
41+
{{< glossary_tooltip text="API resources" term_id="api-resource" >}} can't meet your needs.
3942
-->
40-
当 Kubernetes 公开支持的 API 资源不能满足你的需要时
41-
定制资源对象(Custom Resource Definitions)让你可以在你的环境上扩展 Kubernetes API。
43+
当内置的 {{< glossary_tooltip text="API 资源" term_id="api-resource" >}}不能满足你的需要时
44+
定制资源对象(CustomResourceDefinition)让你可以在你的环境上扩展 Kubernetes API。

content/zh-cn/docs/reference/glossary/device-plugin.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ steps.
3434
设备插件在工作{{<glossary_tooltip term_id="node" text="节点">}}上运行并为
3535
{{<glossary_tooltip term_id="pod" text="Pod">}}
3636
提供访问基础设施{{< glossary_tooltip text="资源" term_id="infrastructure-resource" >}}的能力,
37-
例如:本地硬件这类资源需要特定于供应商的初始化或安装步骤
37+
例如本地硬件这类资源需要特定于供应商的初始化或安装步骤
3838

3939
<!--more-->
4040

@@ -45,14 +45,13 @@ Pods can access hardware features that relate to the Node where that Pod is runn
4545
You can deploy a device plugin as a {{< glossary_tooltip term_id="daemonset" >}},
4646
or install the device plugin software directly on each target Node.
4747
-->
48-
设备插件向 {{<glossary_tooltip term_id="kubelet" text="kubelet" >}} 公布资源,以便工作负载
49-
Pod 访问 Pod 运行所在节点上的硬件功能特性。
48+
设备插件向 {{<glossary_tooltip term_id="kubelet" text="kubelet" >}}
49+
公布资源,以便工作负载 Pod 访问 Pod 运行所在节点上的硬件功能特性。
5050
你可以将设备插件部署为 {{<glossary_tooltip term_id="daemonset" >}},
5151
或者直接在每个目标节点上安装设备插件软件。
5252

5353
<!--
5454
See
55-
5655
[Device Plugins](/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/)
5756
for more information.
5857
-->

content/zh-cn/docs/reference/glossary/endpoint-slice.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ id: endpoint-slice
44
date: 2018-04-12
55
full_link: /zh-cn/docs/concepts/services-networking/endpoint-slices/
66
short_description: >
7-
EndpointSlices 跟踪具有匹配 Service 选择算符的 Pod 的 IP 地址。
7+
EndpointSlices 跟踪提供 Service Pod 的 IP 地址。
88
99
aka:
1010
tags:
@@ -16,23 +16,37 @@ id: endpoint-slice
1616
date: 2018-04-12
1717
full_link: /docs/concepts/services-networking/endpoint-slices/
1818
short_description: >
19-
EndpointSlices track the IP addresses of Pods with matching Service selectors.
19+
EndpointSlices track the IP addresses of Pods for Services.
2020
2121
aka:
2222
tags:
2323
- networking
2424
-->
2525

2626
<!--
27-
EndpointSlices track the IP addresses of Pods with matching {{< glossary_tooltip text="selectors" term_id="selector" >}}.
27+
EndpointSlices track the IP addresses of backend endpoints.
28+
EndpointSlices are normally associated with a
29+
{{< glossary_tooltip text="Service" term_id="service" >}} and the backend endpoints typically represent
30+
{{< glossary_tooltip text="Pods" term_id="pod" >}}.
2831
-->
29-
EndpointSlices 跟踪具有匹配{{< glossary_tooltip text="选择算符" term_id="selector" >}}的
30-
Pod 的 IP 地址。
32+
EndpointSlices 跟踪后端端点的 IP 地址。
33+
EndpointSlices 通常与某个 {{< glossary_tooltip text="Service" term_id="service" >}} 关联,
34+
后端端点通常表示 {{< glossary_tooltip text="Pod" term_id="pod" >}}。
3135

3236
<!--more-->
3337

3438
<!--
35-
EndpointSlices can be configured manually for {{< glossary_tooltip text="Services" term_id="service" >}} without selectors specified.
39+
One Service can be backed by multiple Pods. Kubernetes represents the backing endpoints of a Service
40+
with a set of EndpointSlices that are associated with that Service.
41+
The backing endpoints are usually, but not always, pods running in the cluster.
42+
43+
The control plane usually manages EndpointSlices for you automatically. However,
44+
EndpointSlices can be defined manually for {{< glossary_tooltip text="Services" term_id="service" >}} without
45+
{{< glossary_tooltip text="selectors" term_id="selector" >}} specified.
3646
-->
37-
EndpointSlices 可以手动配置给没有指定选择算符的
47+
一个 Service 可以由多个 Pod 支撑。Kubernetes 使用与该 Service 关联的一组 EndpointSlice
48+
来表示这些支撑 Service 的端点。这些支撑的端点通常是集群中运行的 Pod,但并非总是如此。
49+
50+
控制平面通常为你自动管理 EndpointSlice。
51+
EndpointSlice 可以手动定义给没有指定{{< glossary_tooltip text="选择算符" term_id="selector" >}}的
3852
{{< glossary_tooltip text="Service" term_id="service" >}}。

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

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,49 +2,43 @@
22
title: 端点(Endpoints)
33
id: endpoints
44
date: 2020-04-23
5-
full_link:
5+
full_link: /zh-cn/docs/concepts/services-networking/service/#endpoints
66
short_description: >
7-
Service 的一个端点是实现该服务的 Pod 之一(或外部服务器)。
8-
9-
aka:
7+
表示 Service 端点的 API(已弃用)
108
tags:
119
- networking
1210
---
1311
<!--
1412
title: Endpoints
1513
id: endpoints
1614
date: 2020-04-23
17-
full_link:
15+
full_link: /docs/concepts/services-networking/service/#endpoints
1816
short_description: >
19-
An endpoint of a Service is one of the Pods (or external servers) that implements the Service.
20-
21-
aka:
17+
(Deprecated) API representing endpoints of a Service
2218
tags:
2319
- networking
2420
-->
2521

2622
<!--
27-
An endpoint of a {{< glossary_tooltip text="Service" term_id="service" >}} is one of the {{< glossary_tooltip text="Pods" term_id="pod" >}} (or external servers) that implements the Service.
23+
A deprecated API that represents the set of all endpoints for a
24+
{{< glossary_tooltip text="Service" term_id="service" >}}.
2825
-->
29-
一个 {{< glossary_tooltip text="Service" term_id="service" >}}
30-
的端点是实现该 Service 的 {{< glossary_tooltip text="Pod 之一" term_id="pod" >}}
31-
(或外部服务器)。
26+
一个已弃用的 API,表示某个 {{< glossary_tooltip text="Service" term_id="service" >}}
27+
的全部端点的集合。
3228

3329
<!--more-->
3430

3531
<!--
36-
For Services with {{< glossary_tooltip text="selectors" term_id="selector" >}},
37-
the EndpointSlice controller will automatically create one or more {{<
38-
glossary_tooltip text="EndpointSlices" term_id="endpoint-slice" >}} giving the
39-
IP addresses of the selected endpoint Pods.
40-
-->
41-
对于带有{{< glossary_tooltip text="选择器" term_id="selector" >}}的 Service,
42-
EndpointSlice 控制器将自动创建一个或多个
43-
{{< glossary_tooltip text="EndpointSlices" term_id="endpoint-slice" >}},
44-
提供选定端点 Pod 的 IP 地址。
32+
Since v1.21, Kubernetes uses
33+
{{< glossary_tooltip text="EndpointSlices" term_id="endpoint-slice" >}}
34+
rather than Endpoints; the original Endpoints API was deprecated due to
35+
concerns about scalability.
4536
46-
<!--
47-
EndpointSlices can also be created manually to indicate the endpoints of
48-
Services that have no selector specified.
37+
To learn more about Endpoints, read [Endpoints](/docs/concepts/services-networking/service/#endpoints).
4938
-->
50-
EndpointSlices 也可以手动创建,以指示没有指定选择器的服务的端点。
39+
从 v1.21 起,Kubernetes 使用
40+
{{< glossary_tooltip text="EndpointSlices" term_id="endpoint-slice" >}}
41+
来替代 Endpoints;原始的 Endpoints API 因可扩展性方面的考量而被弃用。
42+
43+
有关 Endpoints 的信息,参阅
44+
[Endpoints](/zh-cn/docs/concepts/services-networking/service/#endpoints)

content/zh-cn/docs/reference/glossary/ephemeral-container.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,14 @@ A {{< glossary_tooltip term_id="container" >}} type that you can temporarily run
3030
<!--more-->
3131

3232
<!--
33-
If you want to investigate a Pod that's running with problems, you can add an ephemeral container to that Pod and carry out diagnostics. Ephemeral containers have no resource or scheduling guarantees, and you should not use them to run any part of the workload itself.
33+
If you want to investigate a Pod that's running with problems, you can add an ephemeral container to that Pod and carry out diagnostics.
34+
Ephemeral containers have no {{< glossary_tooltip text="resource" term_id="infrastructure-resource" >}} or scheduling guarantees,
35+
and you should not use them to run any part of the workload itself.
3436
3537
Ephemeral containers are not supported by {{< glossary_tooltip text="static pods" term_id="static-pod" >}}.
3638
-->
3739
如果想要调查运行中有问题的 Pod,可以向该 Pod 添加一个临时容器(Ephemeral Container)并进行诊断。
38-
临时容器没有资源或调度保证,因此不应该使用它们来运行工作负载本身的任何部分。
40+
临时容器没有{{< glossary_tooltip text="资源" term_id="infrastructure-resource" >}}或调度保证,
41+
因此不应该使用它们来运行工作负载本身的任何部分。
3942

4043
{{< glossary_tooltip text="静态 Pod" term_id="static-pod" >}} 不支持临时容器。

0 commit comments

Comments
 (0)