[zh] adjust format

Signed-off-by: xin.li <xin.li@daocloud.io>
This commit is contained in:
xin.li
2022-05-17 23:10:19 +08:00
parent a3095962e8
commit 1969440f12
6 changed files with 14 additions and 12 deletions
@@ -4,7 +4,7 @@ id: aggregation-layer
date: 2018-10-08 date: 2018-10-08
full_link: /zh/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/ full_link: /zh/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/
short_description: > short_description: >
聚合层允许在自己的集群上安装额外的 Kubernetes 风格的 API。 聚合层允许在自己的集群上安装额外的 Kubernetes 风格的 API。
aka: aka:
tags: tags:
@@ -36,7 +36,7 @@ tags:
The aggregation layer lets you install additional Kubernetes-style APIs in your cluster. The aggregation layer lets you install additional Kubernetes-style APIs in your cluster.
--> -->
聚合层允许在自己的集群上安装额外的 Kubernetes 风格的 API。 聚合层允许在自己的集群上安装额外的 Kubernetes 风格的 API。
<!--more--> <!--more-->
@@ -45,4 +45,5 @@ 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. 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 Server" term_id="kube-apiserver" >}} 来 [支持额外的 API](/zh/docs/tasks/extend-kubernetes/configure-aggregation-layer/)您就可以在 Kubernetes API 中增加 `APIService` 对象来 "申领(Claim" 一个 URL 路径。 配置了 {{< glossary_tooltip text="Kubernetes API Server" term_id="kube-apiserver" >}} 来 [支持额外的 API](/zh/docs/tasks/extend-kubernetes/configure-aggregation-layer/)
你就可以在 Kubernetes API 中增加 `APIService` 对象来 "申领(Claim" 一个 URL 路径。
@@ -42,6 +42,6 @@ once the application container has started.
If a pod doesn't have any init containers configured, all the containers in that pod are app containers. If a pod doesn't have any init containers configured, all the containers in that pod are app containers.
--> -->
初始化容器使可以分离对于{{< glossary_tooltip text="工作负载" term_id="workload" >}} 初始化容器使可以分离对于{{< glossary_tooltip text="工作负载" term_id="workload" >}}
整体而言很重要的初始化细节,并且一旦应用容器启动,它不需要继续运行。 整体而言很重要的初始化细节,并且一旦应用容器启动,它不需要继续运行。
如果 pod 没有配置任何初始化容器,则该 pod 中的所有容器都是应用程序容器。 如果 pod 没有配置任何初始化容器,则该 pod 中的所有容器都是应用程序容器。
@@ -41,4 +41,4 @@ environment variables, command-line arguments, or as configuration files in a
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. 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" >}} 解耦,便于应用配置的修改。
@@ -4,7 +4,7 @@ id: CustomResourceDefinition
date: 2018-04-12 date: 2018-04-12
full_link: /zh/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/ full_link: /zh/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/
short_description: > short_description: >
通过定制化的代码给的 Kubernetes API 服务器增加资源对象,而无需编译完整的定制 API 服务器。 通过定制化的代码给的 Kubernetes API 服务器增加资源对象,而无需编译完整的定制 API 服务器。
aka: aka:
tags: tags:
@@ -33,7 +33,7 @@ tags:
Custom code that defines a resource to add to your Kubernetes API server without building a complete custom server. Custom code that defines a resource to add to your Kubernetes API server without building a complete custom server.
--> -->
通过定制化的代码给的 Kubernetes API 服务器增加资源对象,而无需编译完整的定制 API 服务器。 通过定制化的代码给的 Kubernetes API 服务器增加资源对象,而无需编译完整的定制 API 服务器。
<!--more--> <!--more-->
@@ -41,5 +41,6 @@ tags:
Custom Resource Definitions let you extend the Kubernetes API for your environment if the publicly supported API resources can't meet your needs. Custom Resource Definitions let you extend the Kubernetes API for your environment if the publicly supported API resources can't meet your needs.
--> -->
当 Kubernetes 公开支持的 API 资源不能满足的需要时,定制资源对象(Custom Resource Definitions)让您可以在您的环境上扩展 Kubernetes API。 当 Kubernetes 公开支持的 API 资源不能满足的需要时,
定制资源对象(Custom Resource Definitions)让你可以在你的环境上扩展 Kubernetes API。
@@ -41,7 +41,7 @@ Kubernetes terms that an _involuntary disruption_.
See [Disruptions](/docs/concepts/workloads/pods/disruptions/) for more information. See [Disruptions](/docs/concepts/workloads/pods/disruptions/) for more information.
--> -->
如果作为一个集群操作人员,销毁了一个从属于某个应用的 Pod, Kubernetes 视之为 _自愿干扰(Voluntary Disruption_。如果由于节点故障 如果作为一个集群操作人员,销毁了一个从属于某个应用的 Pod, Kubernetes 视之为**自愿干扰(Voluntary Disruption**。
或者影响更大区域故障的断电导致 Pod 离线,kubernetes 视之为 _非愿干扰(Involuntary Disruption_ 如果由于节点故障 或者影响更大区域故障的断电导致 Pod 离线,kubernetes 视之为**非愿干扰(Involuntary Disruption**
更多信息请查阅[Disruptions](/zh/docs/concepts/workloads/pods/disruptions/) 更多信息请查阅[Disruptions](/zh/docs/concepts/workloads/pods/disruptions/)
@@ -4,12 +4,12 @@ id: ephemeral-container
date: 2019-08-26 date: 2019-08-26
full_link: /zh/docs/concepts/workloads/pods/ephemeral-containers/ full_link: /zh/docs/concepts/workloads/pods/ephemeral-containers/
short_description: > short_description: >
可以在 Pod 中临时运行的一种容器类型 可以在 Pod 中临时运行的一种容器类型
aka: aka:
tags: tags:
- fundamental - fundamental
--- ---
可以在 {{< glossary_tooltip term_id="pod" >}} 中临时运行的一种 {{< glossary_tooltip term_id="container" >}} 类型。 可以在 {{< glossary_tooltip term_id="pod" >}} 中临时运行的一种 {{< glossary_tooltip term_id="container" >}} 类型。
<!-- <!--
--- ---