[zh] Fix link for /docs/reference/generated

This commit is contained in:
Sean Wei
2022-06-18 08:59:00 +08:00
parent 4c88434efc
commit 0e89a437f2
11 changed files with 132 additions and 138 deletions
@@ -2,7 +2,7 @@
title: HostAliases
id: HostAliases
date: 2019-01-31
full_link: /docs/reference/generated/kubernetes-api/{{< param "version" >}}/#hostalias-v1-core
full_link: /zh-cn/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#hostalias-v1-core
short_description: >
主机别名 (HostAliases) 是一组 IP 地址和主机名的映射,用于注入到 Pod 内的 hosts 文件。
@@ -10,10 +10,7 @@ aka:
tags:
- operation
---
主机别名 (HostAliases) 是一组 IP 地址和主机名的映射,用于注入到 {{< glossary_tooltip text="Pod" term_id="pod" >}} 内的 hosts 文件。
<!--
---
title: HostAliases
id: HostAliases
date: 2019-01-31
@@ -24,9 +21,13 @@ short_description: >
aka:
tags:
- operation
---
-->
<!--
A HostAliases is a mapping between the IP address and hostname to be injected into a {{< glossary_tooltip text="Pod" term_id="pod" >}}'s hosts file.
-->
主机别名 (HostAliases) 是一组 IP 地址和主机名的映射,用于注入到 {{< glossary_tooltip text="Pod" term_id="pod" >}} 内的 hosts 文件。
<!--more-->
@@ -1,26 +1,27 @@
---
title: kube-apiserver
title: API 服务器
id: kube-apiserver
date: 2018-04-12
full_link: /zh/docs/reference/command-line-tools-reference/kube-apiserver/
full_link: /zh-cn/docs/concepts/overview/components/#kube-apiserver
short_description: >
提供 Kubernetes API 服务的控制面组件。
aka:
aka:
- kube-apiserver
tags:
- architecture
- fundamental
---
<!--
title: kube-apiserver
title: API server
id: kube-apiserver
date: 2018-04-12
full_link: /zh/docs/reference/command-line-tools-reference/kube-apiserver/
full_link: /docs/concepts/overview/components/#kube-apiserver
short_description: >
Control plane component that serves the Kubernetes API.
Control plane component that serves the Kubernetes API.
aka:
aka:
- kube-apiserver
tags:
- architecture
- fundamental
@@ -35,13 +36,13 @@ API 服务器是 Kubernetes {{< glossary_tooltip text="控制平面" term_id="co
该组件负责公开了 Kubernetes API,负责处理接受请求的工作。
API 服务器是 Kubernetes 控制平面的前端。
<!--more-->
<!--more-->
<!--
The main implementation of a Kubernetes API server is [kube-apiserver](/docs/reference/generated/kube-apiserver/).
kube-apiserver is designed to scale horizontally&mdash;that is, it scales by deploying more instances.
You can run several instances of kube-apiserver and balance traffic between those instances.
-->
Kubernetes API 服务器的主要实现是 [kube-apiserver](/zh/docs/reference/command-line-tools-reference/kube-apiserver/)。
Kubernetes API 服务器的主要实现是 [kube-apiserver](/zh-cn/docs/reference/command-line-tools-reference/kube-apiserver/)。
`kube-apiserver` 设计上考虑了水平扩缩,也就是说,它可通过部署多个实例来进行扩缩。
你可以运行 `kube-apiserver` 的多个实例,并在这些实例之间平衡流量。
@@ -2,7 +2,7 @@
title: kube-controller-manager
id: kube-controller-manager
date: 2018-04-12
full_link: /docs/reference/generated/kube-controller-manager/
full_link: /zh-cn/docs/reference/command-line-tools-reference/kube-controller-manager/
short_description: >
主节点上运行控制器的组件。
@@ -11,13 +11,11 @@ tags:
- architecture
- fundamental
---
<!--
---
title: kube-controller-manager
id: kube-controller-manager
date: 2018-04-12
full_link: /docs/reference/generated/kube-controller-manager/
full_link: /docs/reference/command-line-tools-reference/kube-controller-manager/
short_description: >
Component on the master that runs controllers.
@@ -25,20 +23,21 @@ aka:
tags:
- architecture
- fundamental
---
-->
<!--
Control plane component that runs
Control plane component that runs
{{< glossary_tooltip text="controller" term_id="controller" >}} processes.
-->
[kube-controller-manager](/zh/docs/reference/command-line-tools-reference/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" >}}进程。
<!--more-->
<!--
Logically, each {{< glossary_tooltip text="controller" term_id="controller" >}}
is a separate process, but to reduce complexity,
Logically, each {{< glossary_tooltip text="controller" term_id="controller" >}}
is a separate process, but to reduce complexity,
they are all compiled into a single binary and run in a single process.
-->
从逻辑上讲,
@@ -2,14 +2,13 @@
title: Kubelet
id: kubelet
date: 2018-04-12
full_link: /docs/reference/generated/kubelet
full_link: /zh-cn/docs/reference/generated/kubelet
short_description: >
一个在集群中每个节点上运行的代理。它保证容器都运行在 Pod 中。
aka:
aka:
tags:
- fundamental
- core-object
---
<!--
title: Kubelet
@@ -19,10 +18,9 @@ full_link: /docs/reference/generated/kubelet
short_description: >
An agent that runs on each node in the cluster. It makes sure that containers are running in a pod.
aka:
aka:
tags:
- fundamental
- core-object
-->
<!--
@@ -32,7 +30,7 @@ tags:
它保证{{< glossary_tooltip text="容器(containers" term_id="container" >}}都运行在
{{< glossary_tooltip text="Pod" term_id="pod" >}} 中。
<!--more-->
<!--more-->
<!--
The kubelet takes a set of PodSpecs that are provided through various mechanisms and ensures that the containers described in those PodSpecs are running and healthy. The kubelet doesn't manage containers which were not created by Kubernetes.