From 41de8771e62641495d300099cdc52b304c8c6f06 Mon Sep 17 00:00:00 2001 From: LeeLin2602 Date: Mon, 6 Jun 2022 13:18:28 -0400 Subject: [PATCH] [zh] improve translation for node components --- .../zh/docs/concepts/overview/components.md | 19 ++++++----- content/zh/docs/reference/glossary/cluster.md | 6 ++-- .../reference/glossary/container-runtime.md | 5 +-- .../glossary/kube-controller-manager.md | 12 ++++--- .../zh/docs/reference/glossary/kube-proxy.md | 33 ++++++++++++------- content/zh/docs/reference/glossary/kubelet.md | 10 +++--- 6 files changed, 52 insertions(+), 33 deletions(-) diff --git a/content/zh/docs/concepts/overview/components.md b/content/zh/docs/concepts/overview/components.md index 023de08457..902edf5cd3 100644 --- a/content/zh/docs/concepts/overview/components.md +++ b/content/zh/docs/concepts/overview/components.md @@ -141,7 +141,7 @@ Node components run on every node, maintaining running pods and providing the Ku --> ## Node 组件 {#node-components} -节点组件在每个节点上运行,维护运行的 Pod 并提供 Kubernetes 运行环境。 +节点组件会在每个节点上运行,负责维护运行的 Pod 并提供 Kubernetes 运行环境。 ### kubelet @@ -203,11 +203,12 @@ Kubernetes 启动的容器自动将此 DNS 服务器包含在其 DNS 搜索列 [Dashboard](/docs/tasks/access-application-cluster/web-ui-dashboard/) is a general purpose, web-based UI for Kubernetes clusters. It allows users to manage and troubleshoot applications running in the cluster, as well as the cluster itself. --> -### Web 界面(仪表盘) +### Web 界面(仪表盘) {#web-ui-dashboard} [Dashboard](/zh/docs/tasks/access-application-cluster/web-ui-dashboard/) 是 Kubernetes 集群的通用的、基于 Web 的用户界面。 -它使用户可以管理集群中运行的应用程序以及集群本身并进行故障排除。 +它使用户可以管理集群中运行的应用程序以及集群本身, +并进行故障排除。 -### 容器资源监控 +### 容器资源监控 {#container-resource-monitoring} [容器资源监控](/zh/docs/tasks/debug/debug-cluster/resource-usage-monitoring/) -将关于容器的一些常见的时间序列度量值保存到一个集中的数据库中,并提供用于浏览这些数据的界面。 +将关于容器的一些常见的时间序列度量值保存到一个集中的数据库中, +并提供浏览这些数据的界面。 -### 集群层面日志 +### 集群层面日志 {#cluster-level-logging} -[集群层面日志](/zh/docs/concepts/cluster-administration/logging/) 机制负责将容器的日志数据 -保存到一个集中的日志存储中,该存储能够提供搜索和浏览接口。 +[集群层面日志](/zh/docs/concepts/cluster-administration/logging/) +机制负责将容器的日志数据保存到一个集中的日志存储中, +这种集中日志存储提供搜索和浏览接口。 ## {{% heading "whatsnext" %}} diff --git a/content/zh/docs/reference/glossary/cluster.md b/content/zh/docs/reference/glossary/cluster.md index 070b318283..07b79c5f96 100644 --- a/content/zh/docs/reference/glossary/cluster.md +++ b/content/zh/docs/reference/glossary/cluster.md @@ -4,7 +4,7 @@ id: cluster date: 2019-06-15 full_link: short_description: > - 集群由一组被称作节点的机器组成。这些节点上运行 Kubernetes 所管理的容器化应用。集群具有至少一个工作节点。 + 集群由一组被称作节点的机器组成。这些节点上运行 Kubernetes 所管理的容器化应用。集群具有至少一个工作节点。 aka: tags: @@ -32,9 +32,9 @@ tags: A set of worker machines, called {{< glossary_tooltip text="nodes" term_id="node" >}}, that run containerized applications. Every cluster has at least one worker node. --> -集群是由一组被称作节点的机器组成,这些节点上会运行由 Kubernetes 所管理的容器化应用。 +集群是由一组被称作{{< glossary_tooltip text="节点(node)" term_id="node" >}}的机器组成, +这些节点上会运行由 Kubernetes 所管理的容器化应用。 且每个集群至少有一个工作节点。 - -Kubernetes 支持容器运行时,例如 +Kubernetes 支持许多容器运行环境,例如 {{< glossary_tooltip term_id="docker">}}、 -{{< glossary_tooltip term_id="containerd" >}}、{{< glossary_tooltip term_id="cri-o" >}} +{{< glossary_tooltip term_id="containerd" >}}、 +{{< glossary_tooltip term_id="cri-o" >}} 以及 [Kubernetes CRI (容器运行环境接口)](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-node/container-runtime-interface.md) 的其他任何实现。 \ No newline at end of file diff --git a/content/zh/docs/reference/glossary/kube-controller-manager.md b/content/zh/docs/reference/glossary/kube-controller-manager.md index 788817eea5..12dd0b3988 100644 --- a/content/zh/docs/reference/glossary/kube-controller-manager.md +++ b/content/zh/docs/reference/glossary/kube-controller-manager.md @@ -29,15 +29,19 @@ tags: --> -`kube-controller-manager` 是{{< glossary_tooltip text="控制平面" term_id="control-plane" >}}的组件, +[kube-controller-manager](/zh/docs/reference/command-line-tools-reference/kube-controller-manager/) 是{{< glossary_tooltip text="控制平面" term_id="control-plane" >}}的组件, 负责运行{{< glossary_tooltip text="控制器" term_id="controller" >}}进程。 -从逻辑上讲,每个{{< glossary_tooltip text="控制器" term_id="controller" >}}都是一个单独的进程, +从逻辑上讲, +每个{{< glossary_tooltip text="控制器" term_id="controller" >}}都是一个单独的进程, 但是为了降低复杂性,它们都被编译到同一个可执行文件,并在同一个进程中运行。 diff --git a/content/zh/docs/reference/glossary/kube-proxy.md b/content/zh/docs/reference/glossary/kube-proxy.md index 2b1048147f..3fce715cb7 100644 --- a/content/zh/docs/reference/glossary/kube-proxy.md +++ b/content/zh/docs/reference/glossary/kube-proxy.md @@ -24,19 +24,30 @@ tags: - fundamental - networking --- --> - -[kube-proxy](/zh/docs/reference/command-line-tools-reference/kube-proxy/) 是集群中每个节点上运行的网络代理, + +[kube-proxy](/zh/docs/reference/command-line-tools-reference/kube-proxy/) +是集群中每个{{< glossary_tooltip text="节点(node)" term_id="node" >}}所上运行的网络代理, 实现 Kubernetes {{< glossary_tooltip term_id="service">}} 概念的一部分。 - -kube-proxy 维护节点上的网络规则。这些网络规则允许从集群内部或外部的网络会话与 Pod 进行网络通信。 + +kube-proxy 维护节点上的一些网络规则, +这些网络规则会允许从集群内部或外部的网络会话与 Pod 进行网络通信。 - -如果操作系统提供了数据包过滤层并可用的话,kube-proxy 会通过它来实现网络规则。否则, kube-proxy 仅转发流量本身。 + +如果操作系统提供了可用的数据包过滤层,则 kube-proxy 会通过它来实现网络规则。 +否则,kube-proxy 仅做流量转发。 diff --git a/content/zh/docs/reference/glossary/kubelet.md b/content/zh/docs/reference/glossary/kubelet.md index a00971e224..1a5b4f630b 100644 --- a/content/zh/docs/reference/glossary/kubelet.md +++ b/content/zh/docs/reference/glossary/kubelet.md @@ -28,16 +28,16 @@ tags: -一个在集群中每个{{< glossary_tooltip text="节点(node)" term_id="node" >}}上运行的代理。 -它保证{{< glossary_tooltip text="容器(containers)" term_id="container" >}}都 -运行在 {{< glossary_tooltip text="Pod" term_id="pod" >}} 中。 +`kubelet` 会在集群中每个{{< glossary_tooltip text="节点(node)" term_id="node" >}}上运行。 +它保证{{< glossary_tooltip text="容器(containers)" term_id="container" >}}都运行在 +{{< glossary_tooltip text="Pod" term_id="pod" >}} 中。 -kubelet 接收一组通过各类机制提供给它的 PodSpecs,确保这些 PodSpecs -中描述的容器处于运行状态且健康。 +kubelet 接收一组通过各类机制提供给它的 PodSpecs, +确保这些 PodSpecs 中描述的容器处于运行状态且健康。 kubelet 不会管理不是由 Kubernetes 创建的容器。