Merge pull request #41980 from windsonsea/probe

[zh] sync probe and more glossary
pull/42349/head
Kubernetes Prow Robot 2023-08-01 19:10:06 -07:00 committed by GitHub
commit cdc0393bcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 83 additions and 36 deletions

View File

@ -23,9 +23,9 @@ tags:
- tool
-->
<!--
<!--
Resources that extend the functionality of Kubernetes.
-->
-->
扩展 Kubernetes 功能的资源。
<!--more-->
@ -33,4 +33,5 @@ tags:
<!--
[Installing addons](/docs/concepts/cluster-administration/addons/) explains more about using add-ons with your cluster, and lists some popular add-ons.
-->
[安装附加组件](/zh-cn/docs/concepts/cluster-administration/addons/) 阐释了更多关于如何在集群内使用附加组件,并列出了一些流行的附加组件。
[安装附加组件](/zh-cn/docs/concepts/cluster-administration/addons/)阐释了更多关于如何在集群内使用附加组件,
并列出了一些流行的附加组件。

View File

@ -38,7 +38,7 @@ validating controllers may not.
* [Admission controllers in the Kubernetes documentation](/docs/reference/access-authn-authz/admission-controllers/)
-->
准入控制器可针对 Kubernetes API 服务器进行配置可以执行“验证validating“、“变更mutating或两者都执行。
准入控制器可针对 Kubernetes API 服务器进行配置可以执行“验证validating”、“变更mutating或两者都执行。
任何准入控制器都可以拒绝访问请求。
变更控制器可以修改其允许的对象,验证控制器则不可以。

View File

@ -46,6 +46,6 @@ and {{< glossary_tooltip term_id="selector" text="selectors">}} specified in {{<
and they can be either required or preferred, depending on how strictly you want the scheduler to enforce them.
-->
这些规则是使用 Kubernetes {{< glossary_tooltip term_id="label" text="标签">}}label
和 {{< glossary_tooltip term_id="pod" text="Pod" >}} 中指定的
{{< glossary_tooltip term_id="selector" text="选择算符">}}定义的,
和 {{< glossary_tooltip term_id="pod" text="Pod" >}}
中指定的{{< glossary_tooltip term_id="selector" text="选择算符">}}定义的,
这些规则可以是必需的或首选的,这取决于你希望调度程序执行它们的严格程度。

View File

@ -37,5 +37,6 @@ tags:
<!--
When you've configured the {{< glossary_tooltip text="Kubernetes API Server" term_id="kube-apiserver" >}} to [support additional APIs](/docs/tasks/extend-kubernetes/configure-aggregation-layer/), you can add `APIService` objects to "claim" a URL path in the Kubernetes API.
-->
当你配置了 {{< glossary_tooltip text="Kubernetes API 服务器" term_id="kube-apiserver" >}} 来 [支持额外的 API](/zh-cn/docs/tasks/extend-kubernetes/configure-aggregation-layer/)
你就可以在 Kubernetes API 中增加 `APIService` 对象来"申领Claim"一个 URL 路径。
当你配置了
{{< glossary_tooltip text="Kubernetes API 服务器" term_id="kube-apiserver" >}}来[支持额外的 API](/zh-cn/docs/tasks/extend-kubernetes/configure-aggregation-layer/)
你就可以在 Kubernetes API 中增加 `APIService` 对象来"申领Claim"一个 URL 路径。

View File

@ -48,8 +48,7 @@ API-initiated eviction is not the same as [node-pressure eviction](/docs/concept
API 发起的驱逐取决于你配置的 [`PodDisruptionBudgets`](/zh-cn/docs/tasks/run-application/configure-pdb/)
和 [`terminationGracePeriodSeconds`](/zh-cn/docs/concepts/workloads/pods/pod-lifecycle#pod-termination)。
API 发起的驱逐不同于
[节点压力引发的驱逐](/zh-cn/docs/concepts/scheduling-eviction/node-pressure-eviction/)。
API 发起的驱逐不同于[节点压力引发的驱逐](/zh-cn/docs/concepts/scheduling-eviction/node-pressure-eviction/)。
<!--
* See [API-initiated eviction](/docs/concepts/scheduling-eviction/api-eviction/) for more information.

View File

@ -30,7 +30,8 @@ A set of related paths in Kubernetes API.
-->
Kubernetes API 中的一组相关路径。
<!--more-->
<!--more-->
<!--
You can enable or disable each API group by changing the configuration of your API server. You can also disable or enable paths to specific resources. API group makes it easier to extend the Kubernetes API. The API group is specified in a REST path and in the `apiVersion` field of a serialized object.
-->
@ -42,4 +43,4 @@ API 组在 REST 路径和序列化对象的 `apiVersion` 字段中指定。
<!--
* Read [API Group](/docs/concepts/overview/kubernetes-api/#api-groups-and-versioning) for more information.
-->
* 阅读 [API 组](/zh-cn/docs/concepts/overview/kubernetes-api/#api-groups-and-versioning) 了解更多信息。
* 阅读 [API 组](/zh-cn/docs/concepts/overview/kubernetes-api/#api-groups-and-versioning)了解更多信息。

View File

@ -33,4 +33,5 @@ tags:
<!--
Certificates enable applications within a Kubernetes cluster to access the Kubernetes API securely. Certificates validate that clients are allowed to access the API.
-->
证书Certificate可以让 Kubernetes 集群中运行的应用程序安全的访问 Kubernetes API。证书可以确认客户端是否被允许访问 API。
证书Certificate可以让 Kubernetes 集群中运行的应用程序安全的访问 Kubernetes API。
证书可以确认客户端是否被允许访问 API。

View File

@ -55,5 +55,5 @@ elements such as load balancers.
你也会看到 Kubernetes 被作为托管服务提供;有时也称作平台即服务或 PaaS。
针对托管的 Kubernetes你的云提供商负责 Kubernetes 的控制平面以及
{{< glossary_tooltip term_id="node" text="节点" >}} 及他们所依赖的基础设施:
{{< glossary_tooltip term_id="node" text="节点" >}} 及他们所依赖的基础设施:
网络、存储以及其他一些诸如负载均衡器之类的元素。

View File

@ -29,7 +29,7 @@ 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.
-->
一组工作机器,称为 {{< glossary_tooltip text="节点" term_id="node" >}}
一组工作机器,称为{{< glossary_tooltip text="节点" term_id="node" >}}
会运行容器化应用程序。每个集群至少有一个工作节点。
<!--more-->
@ -42,8 +42,7 @@ nodes and the Pods in the cluster. In production environments, the control plane
runs across multiple computers and a cluster usually runs multiple nodes, providing
fault-tolerance and high availability.
-->
工作节点会托管 {{< glossary_tooltip text="Pod" term_id="pod" >}}
,而 Pod 就是作为应用负载的组件。
工作节点会托管 {{< glossary_tooltip text="Pod" term_id="pod" >}},而 Pod 就是作为应用负载的组件。
{{< glossary_tooltip text="控制平面" term_id="control-plane" >}}管理集群中的工作节点和 Pod。
在生产环境中,控制平面通常跨多台计算机运行,
一个集群通常运行多个节点,提供容错性和高可用性。

View File

@ -29,11 +29,12 @@ tags:
environment variables, command-line arguments, or as configuration files in a
{{< glossary_tooltip text="volume" term_id="volume" >}}.
-->
ConfigMap 是一种 API 对象,用来将非机密性的数据保存到键值对中。使用时, {{< glossary_tooltip text="Pods" term_id="pod" >}} 可以将其用作环境变量、命令行参数或者存储卷中的配置文件。
ConfigMap 是一种 API 对象,用来将非机密性的数据保存到键值对中。使用时,
{{< glossary_tooltip text="Pod" term_id="pod" >}} 可以将其用作环境变量、命令行参数或者存储卷中的配置文件。
<!--more-->
<!--
A ConfigMap allows you to decouple environment-specific configuration from your {{< glossary_tooltip text="container images" term_id="image" >}}, so that your applications are easily portable.
-->
ConfigMap 将你的环境配置信息和 {{< glossary_tooltip text="容器镜像" term_id="image" >}} 解耦,便于应用配置的修改。
ConfigMap 将你的环境配置信息和{{< glossary_tooltip text="容器镜像" term_id="image" >}}解耦,便于应用配置的修改。

View File

@ -26,11 +26,14 @@ tags:
<!--
Container environment variables are name=value pairs that provide useful information into containers running in a {{< glossary_tooltip text="pod" term_id="pod" >}}
-->
容器环境变量提供了 name=value 形式的、在 {{< glossary_tooltip text="Pod" term_id="pod" >}} 中运行的容器所必须的一些重要信息。
容器环境变量提供了 name=value 形式的、在 {{< glossary_tooltip text="Pod" term_id="pod" >}}
中运行的容器所必须的一些重要信息。
<!--more-->
<!--
Container environment variables provide information that is required by the running containerized applications along with information about important resources to the {{< glossary_tooltip text="containers" term_id="container" >}}. For example, file system details, information about the container itself, and other cluster resources such as service endpoints.
-->
容器环境变量为运行中的容器化应用提供必要的信息,同时还提供与{{< glossary_tooltip text="容器" term_id="container" >}}重要资源相关的其他信息例如文件系统信息、容器自身的信息以及其他像服务端点Service endpoints这样的集群资源信息。
容器环境变量为运行中的容器化应用提供必要的信息,
同时还提供与{{< glossary_tooltip text="容器" term_id="container" >}}重要资源相关的其他信息,
例如文件系统信息、容器自身的信息以及其他像服务端点Service endpoints这样的集群资源信息。

View File

@ -26,7 +26,8 @@ tags:
<!--
The lifecycle hooks expose events in the {{< glossary_tooltip text="Container" term_id="container" >}} management lifecycle and let the user run code when the events occur.
-->
生命周期钩子Lifecycle Hooks暴露{{< glossary_tooltip text="容器" term_id="container" >}}管理生命周期中的事件,允许用户在事件发生时运行代码。
生命周期钩子Lifecycle Hooks暴露{{< glossary_tooltip text="容器" term_id="container" >}}管理生命周期中的事件,
允许用户在事件发生时运行代码。
<!--more-->

View File

@ -39,5 +39,5 @@ The Kubernetes Container Runtime Interface (CRI) defines the main
-->
Kubernetes 容器运行时接口Container Runtime InterfaceCRI定义了主要 [gRPC](https://grpc.io) 协议,
用于[集群组件](/zh-cn/docs/concepts/overview/components/#node-components)
{{< glossary_tooltip text="kubelet" term_id="kubelet" >}}
{{< glossary_tooltip text="容器运行时" term_id="container-runtime" >}}之间的通信。
{{< glossary_tooltip text="kubelet" term_id="kubelet" >}}
{{< glossary_tooltip text="容器运行时" term_id="container-runtime" >}}之间的通信。

View File

@ -42,4 +42,4 @@ Kubernetes 支持许多容器运行环境,例如
{{< 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)
的其他任何实现。
的其他任何实现。

View File

@ -30,11 +30,11 @@ tags:
-->
容器是可移植、可执行的轻量级的镜像,包含其中的软件及其相关依赖。
<!--more-->
<!--more-->
<!--
Containers decouple applications from underlying host infrastructure to make deployment easier in different cloud or OS environments, and for easier scaling.
The applications that run inside containers are called containerized applications. The process of bundling these applications and their dependencies into a container image is called containerization.
-->
容器使应用和底层的主机基础设施解耦,降低了应用在不同云环境或者操作系统上的部署难度,便于应用扩展。
在容器内运行的应用程序称为容器化应用程序。 将这些应用程序及其依赖项捆绑到容器映像中的过程称为容器化。
在容器内运行的应用称为容器化应用。将这些应用及其依赖项捆绑到容器镜像中的过程称为容器化。

View File

@ -35,4 +35,4 @@ that runs as a daemon on Linux or Windows. containerd takes care of fetching and
storing container images, executing containers, providing network access, and more.
-->
containerd 是一种{{< glossary_tooltip text="容器" term_id="container" >}}运行时,能在 Linux 或者 Windows 后台运行。
containerd 能取回、存储容器镜像,执行容器实例,提供网络访问等。
containerd 能取回、存储容器镜像,执行容器实例,提供网络访问等。

View File

@ -29,8 +29,10 @@ tags:
-->
通过贡献代码、文档或者投入时间等方式来帮助 Kubernetes 项目或社区的人。
<!--more-->
<!--more-->
<!--
Contributions include pull requests (PRs), issues, feedback, {{< glossary_tooltip text="special interest groups (SIG)" term_id="sig" >}} participation, or organizing community events.
-->
贡献形式包括提交拉取请求PRs、问题报告Issues、反馈、参与{{< glossary_tooltip text="特别兴趣小组SIG" term_id="sig" >}}或者组织社区活动等等。
贡献形式包括提交拉取请求PR、问题报告Issue、反馈、
参与{{< glossary_tooltip text="特别兴趣小组SIG" term_id="sig" >}}或者组织社区活动等等。

View File

@ -44,10 +44,11 @@ tags:
-->
这个编排层是由多个不同的组件组成,例如以下(但不限于)几种:
* {{< glossary_tooltip text="etcd" term_id="etcd" >}}
* {{< glossary_tooltip text="API 服务器" term_id="kube-apiserver" >}}
* {{< glossary_tooltip text="调度器" term_id="kube-scheduler" >}}
* {{< glossary_tooltip text="控制器管理器" term_id="kube-controller-manager" >}}
* {{< glossary_tooltip text="云控制器管理器" term_id="cloud-controller-manager" >}}
* {{< glossary_tooltip text="etcd" term_id="etcd" >}}
* {{< glossary_tooltip text="API 服务器" term_id="kube-apiserver" >}}
* {{< glossary_tooltip text="调度器" term_id="kube-scheduler" >}}
* {{< glossary_tooltip text="控制器管理器" term_id="kube-controller-manager" >}}
* {{< glossary_tooltip text="云控制器管理器" term_id="cloud-controller-manager" >}}
这些组件可以作为传统的操作系统服务(守护程序)或容器运行。运行这些组件的主机在历史上被称为 {{<glossary_tooltip text="masters" term_id="master" >}}。
这些组件可以作为传统的操作系统服务(守护程序)或容器运行。
运行这些组件的主机在历史上被称为 {{<glossary_tooltip text="Master" term_id="master" >}}。

View File

@ -0,0 +1,37 @@
---
title: 探针Probe
id: probe
date: 2023-03-21
full_link: /zh-cn/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
short_description: >
由 kubelet 定期对 Pod 中的容器定期执行的一项检查。
tags:
- tool
---
<!--
title: Probe
id: probe
date: 2023-03-21
full_link: /docs/concepts/workloads/pods/pod-lifecycle/#container-probes
short_description: >
A check performed periodically by the kubelet on a container in a Pod.
tags:
- tool
-->
<!--
A check that the kubelet periodically performs against a container that is
running in a pod, that will define container's state and health and informing container's lifecycle.
-->
由 kubelet 定期对运行在 Pod 中的容器执行的一项检查,用于定义容器的状态和健康状况,并通知容器的生命周期。
<!--more-->
<!--
To learn more, read [container probes](/docs/concepts/workloads/pods/pod-lifecycle/#container-probes).
-->
若要了解更多,可以阅读[容器探针](/zh-cn/docs/concepts/workloads/pods/pod-lifecycle/#container-probes)。