Skip to content

Commit 5636e87

Browse files
authored
Merge pull request #25405 from tengqm/zh-fix-links-4
[zh] Fix links in zh localization (4)
2 parents 434f5e9 + abab517 commit 5636e87

18 files changed

+623
-371
lines changed

content/zh/docs/reference/_index.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ client libraries:
7070
## CLI 参考
7171

7272
* [kubectl](/zh/docs/reference/kubectl/overview/) - 主要的 CLI 工具,用于运行命令和管理 Kubernetes 集群。
73-
* [JSONPath](/zh/docs/reference/kubectl/jsonpath/) - 通过 kubectl 使用 [JSONPath 表达式](http://goessner.net/articles/JsonPath/) 的语法指南。
73+
* [JSONPath](/zh/docs/reference/kubectl/jsonpath/) - 通过 kubectl 使用
74+
[JSONPath 表达式](https://goessner.net/articles/JsonPath/) 的语法指南。
7475
* [kubeadm](/zh/docs/reference/setup-tools/kubeadm/) - 此 CLI 工具可轻松配置安全的 Kubernetes 集群。
7576

7677
<!--
@@ -100,5 +101,8 @@ An archive of the design docs for Kubernetes functionality. Good starting points
100101
-->
101102
## 设计文档
102103

103-
Kubernetes 功能的设计文档归档,不妨考虑从 [Kubernetes 架构](https://git.k8s.io/community/contributors/design-proposals/architecture/architecture.md)[Kubernetes 设计概述](https://git.k8s.io/community/contributors/design-proposals)开始阅读。
104+
Kubernetes 功能的设计文档归档,不妨考虑从
105+
[Kubernetes 架构](https://git.k8s.io/community/contributors/design-proposals/architecture/architecture.md)
106+
[Kubernetes 设计概述](https://git.k8s.io/community/contributors/design-proposals)
107+
开始阅读。
104108

content/zh/docs/reference/access-authn-authz/admission-controllers.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ weight: 30
55
---
66

77
<!--
8-
---
98
reviewers:
109
- lavalamp
1110
- davidopp
@@ -16,17 +15,14 @@ reviewers:
1615
title: Using Admission Controllers
1716
content_type: concept
1817
weight: 30
19-
---
2018
-->
2119

22-
2320
<!-- overview -->
2421
<!--
2522
This page provides an overview of Admission Controllers.
2623
-->
2724
此页面概述了准入控制器。
2825

29-
3026
<!-- body -->
3127

3228
<!--
@@ -228,7 +224,7 @@ to perform different actions on CertificateSigningRequest resources.
228224
-->
229225

230226
有关对证书签名请求资源执行不同操作所需权限的详细信息,
231-
请参阅[证书签名请求](/docs/reference/access-authn-authz/certificate-signing-requests/)
227+
请参阅[证书签名请求](/zh/docs/reference/access-authn-authz/certificate-signing-requests/)
232228

233229
### CertificateSigning
234230

content/zh/docs/reference/access-authn-authz/extensible-admission-controllers.md

Lines changed: 245 additions & 142 deletions
Large diffs are not rendered by default.

content/zh/docs/reference/command-line-tools-reference/feature-gates.md

Lines changed: 228 additions & 108 deletions
Large diffs are not rendered by default.

content/zh/docs/reference/command-line-tools-reference/kubelet-authentication-authorization.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This document describes how to authenticate and authorize access to the kubelet'
2828
<!--
2929
## Kubelet authentication
3030
-->
31-
## Kubelet 认证
31+
## Kubelet 身份认证
3232

3333
<!--
3434
By default, requests to the kubelet's HTTPS endpoint that are not rejected by other configured
@@ -56,11 +56,12 @@ To enable X509 client certificate authentication to the kubelet's HTTPS endpoint
5656
<!--
5757
* start the kubelet with the `--client-ca-file` flag, providing a CA bundle to verify client certificates with
5858
* start the apiserver with `--kubelet-client-certificate` and `--kubelet-client-key` flags
59-
* see the [apiserver authentication documentation](/docs/admin/authentication/#x509-client-certs) for more details
59+
* see the [apiserver authentication documentation](/docs/reference/access-authn-authz/authentication/#x509-client-certs) for more details
6060
-->
6161
*`--client-ca-file` 标志启动 kubelet,提供一个 CA 证书包以供验证客户端证书
6262
*`--kubelet-client-certificate``--kubelet-client-key` 标志启动 apiserver
63-
* 有关更多详细信息,请参见 [apiserver 身份验证文档](/zh/docs/admin/authentication/#x509-client-certs)
63+
* 有关更多详细信息,请参见
64+
[apiserver 身份验证文档](/zh/docs/reference/access-authn-authz/authentication/#x509-client-certs)
6465

6566
<!--
6667
To enable API bearer tokens (including service account tokens) to be used to authenticate to the kubelet's HTTPS endpoint:
@@ -113,12 +114,15 @@ To subdivide access to the kubelet API, delegate authorization to the API server
113114
-->
114115
* 确保在 API 服务器中启用了 `authorization.k8s.io/v1beta1` API 组
115116
*`--authorization-mode=Webhook``--kubeconfig` 标志启动 kubelet
116-
* kubelet 调用已配置的 API 服务器上的 `SubjectAccessReview` API,以确定每个请求是否得到鉴权
117+
* kubelet 调用已配置的 API 服务器上的 `SubjectAccessReview` API,
118+
以确定每个请求是否得到鉴权
117119

118120
<!--
119-
The kubelet authorizes API requests using the same [request attributes](/docs/admin/authorization/#request-attributes) approach as the apiserver.
121+
The kubelet authorizes API requests using the same [request attributes](/docs/reference/access-authn-authz/authorization/#review-your-request-attributes) approach as the apiserver.
120122
-->
121-
kubelet 使用与 apiserver 相同的[请求属性](/zh/docs/admin/authorization/#request-attributes)方法对 API 请求执行鉴权。
123+
kubelet 使用与 apiserver 相同的
124+
[请求属性](/zh/docs/reference/access-authn-authz/authorization/#review-your-request-attributes)
125+
方法对 API 请求执行鉴权。
122126

123127
<!--
124128
The verb is determined from the incoming request's HTTP verb:
@@ -170,4 +174,4 @@ flags passed to the apiserver is authorized for the following attributes:
170174
* verb=\*, resource=nodes, subresource=stats
171175
* verb=\*, resource=nodes, subresource=log
172176
* verb=\*, resource=nodes, subresource=spec
173-
* verb=\*, resource=nodes, subresource=metrics
177+
* verb=\*, resource=nodes, subresource=metrics

content/zh/docs/reference/command-line-tools-reference/kubelet-tls-bootstrapping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ and progress on the feature is being tracked as [feature #43](https://github.com
1616

1717
## kube-apiserver configuration
1818

19-
The API server should be configured with an [authenticator](/docs/admin/authentication/) that can authenticate tokens as a user in the `system:bootstrappers` group.
19+
The API server should be configured with an [authenticator](/zh/docs/reference/access-authn-authz/authentication/) that can authenticate tokens as a user in the `system:bootstrappers` group.
2020

2121
This group will later be used in the controller-manager configuration to scope approvals in the default approval
2222
controller. As this feature matures, you should ensure tokens are bound to a Role-Based Access Control (RBAC) policy which limits requests

content/zh/docs/reference/glossary/extensions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ tags:
1010
- fundamental
1111
- extension
1212
---
13-
扩展组件是扩展并与 Kubernetes 深度集成以支持新型硬件的软件组件。
1413

1514
<!--
16-
---
1715
title: Extensions
1816
id: Extensions
1917
date: 2019-02-01
@@ -25,9 +23,11 @@ aka:
2523
tags:
2624
- fundamental
2725
- extension
28-
---
26+
-->
27+
<!--
2928
Extensions are software components that extend and deeply integrate with Kubernetes to support new types of hardware.
3029
-->
30+
扩展组件是扩展并与 Kubernetes 深度集成以支持新型硬件的软件组件。
3131

3232
<!--more-->
3333

@@ -36,5 +36,5 @@ Most cluster administrators will use a hosted or distribution instance of Kubern
3636
-->
3737

3838
大多数集群管理员会使用托管的 Kubernetes 或其某种发行包。因此,大多数 Kubernetes 用户将需要
39-
安装 [扩展组件](/docs/concepts/extend-kubernetes/extend-cluster/#extensions)
40-
较少用户会需要编写新的扩展组件。
39+
安装[扩展组件](/zh/docs/concepts/extend-kubernetes/extend-cluster/#extensions)
40+
较少用户会需要编写新的扩展组件。

content/zh/docs/reference/glossary/flexvolume.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,32 @@ id: flexvolume
44
date: 2018-06-25
55
full_link: /zh/docs/concepts/storage/volumes/#flexvolume
66
short_description: >
7-
Flexvolume 是创建 out-of-tree 卷插件的一种接口。 {{< glossary_tooltip text="容器存储接口(CSI)" term_id="csi" >}} 是比 Flexvolume 更新的接口,它解决了 Flexvolumes 的一些问题。
8-
7+
Flexvolume 是创建树外卷插件的一种接口。
8+
{{< glossary_tooltip text="容器存储接口(CSI)" term_id="csi" >}}
9+
是比 Flexvolume 更新的接口,它解决了 Flexvolumes 的一些问题。
910
1011
aka:
1112
tags:
1213
- storage
1314
---
1415

15-
<!-- ---
16+
<!--
1617
title: FlexVolume
1718
id: flexvolume
1819
date: 2018-06-25
1920
full_link: /docs/concepts/storage/volumes/#flexvolume
2021
short_description: >
2122
FlexVolume is an interface for creating out-of-tree volume plugins. The {{< glossary_tooltip text="Container Storage Interface" term_id="csi" >}} is a newer interface which addresses several problems with FlexVolumes.
22-
23-
2423
aka:
2524
tags:
2625
- storage
27-
--- -->
28-
<!--
29-
FlexVolume is an interface for creating out-of-tree volume plugins. The {{< glossary_tooltip text="Container Storage Interface" term_id="csi" >}} is a newer interface which addresses several problems with FlexVolumes.
30-
-->
31-
Flexvolume 是创建 out-of-tree 卷插件的一种接口。 {{< glossary_tooltip text="容器存储接口(CSI)" term_id="csi" >}} 是比 Flexvolume 更新的接口,它解决了 Flexvolume 的一些问题。
26+
-->
27+
<!--
28+
FlexVolume is an interface for creating out-of-tree volume plugins. The {{< glossary_tooltip text="Container Storage Interface" term_id="csi" >}} is a newer interface which addresses several problems with FlexVolumes.
29+
-->
30+
Flexvolume 是创建树外卷插件的一种接口。
31+
{{< glossary_tooltip text="容器存储接口(CSI)" term_id="csi" >}}
32+
是比 Flexvolume 更新的接口,它解决了 Flexvolume 的一些问题。
3233

3334
<!--more-->
3435

@@ -37,14 +38,15 @@ FlexVolumes enable users to write their own drivers and add support for their vo
3738
-->
3839
Flexvolume 允许用户编写自己的驱动程序,并在 Kubernetes 中加入对用户自己的数据卷的支持。
3940
FlexVolume 驱动程序的二进制文件和依赖项必须安装在主机上。
40-
这需要 root 权限。如果可能的话,SIG Storage 建议实现 {{< glossary_tooltip text="CSI" term_id="csi" >}} 驱动程序,
41+
这需要 root 权限。如果可能的话,SIG Storage 建议实现
42+
{{< glossary_tooltip text="CSI" term_id="csi" >}} 驱动程序,
4143
因为它解决了 Flexvolumes 的限制。
4244

4345
<!--
4446
* [FlexVolume in the Kubernetes documentation](/docs/concepts/storage/volumes/#flexvolume)
4547
* [More information on FlexVolumes](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-storage/flexvolume.md)
4648
* [Volume Plugin FAQ for Storage Vendors](https://github.com/kubernetes/community/blob/master/sig-storage/volume-plugin-faq.md)
4749
-->
48-
* [Kubernetes 文档中的 Flexvolume](/docs/concepts/storage/volumes/#flexvolume)
50+
* [Kubernetes 文档中的 Flexvolume](/zh/docs/concepts/storage/volumes/#flexvolume)
4951
* [更多关于 Flexvolumes 的信息](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-storage/flexvolume.md)
50-
* [存储供应商的卷插件 FAQ](https://github.com/kubernetes/community/blob/master/sig-storage/volume-plugin-faq.md)
52+
* [存储供应商的卷插件 FAQ](https://github.com/kubernetes/community/blob/master/sig-storage/volume-plugin-faq.md)

content/zh/docs/reference/glossary/managed-service.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ tags:
2727
<!--
2828
A software offering maintained by a third-party provider.
2929
-->
30-
3130
由第三方供应商负责维护的一种软件产品。
3231

3332
<!--more-->
3433

3534
<!--
3635
Some examples of Managed Services are AWS EC2, Azure SQL Database, and GCP Pub/Sub, but they can be any software offering that can be used by an application. [Service Catalog](/docs/concepts/service-catalog/) provides a way to list, provision, and bind with Managed Services offered by {{< glossary_tooltip text="Service Brokers" term_id="service-broker" >}}.
3736
-->
38-
3937
托管服务的一些例子有 AWS EC2、Azure SQL 数据库和 GCP Pub/Sub 等,
4038
不过它们也可以是可以被某应用使用的任何软件交付件。
41-
[服务目录](/docs/concepts/service-catalog/)提供了一种方法用来列举、供应和绑定到
42-
{{< glossary_tooltip text="服务代理商" term_id="service-broker" >}}所提供的托管服务。
39+
[服务目录](/zh/docs/concepts/extend-kubernetes/service-catalog/)
40+
提供了一种方法用来列举、制备和绑定到
41+
{{< glossary_tooltip text="服务代理商" term_id="service-broker" >}}
42+
所提供的托管服务。

content/zh/docs/reference/glossary/operator-pattern.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ aka:
1010
tags:
1111
- architecture
1212
---
13-
[operator 模式](/docs/concepts/extend-kubernetes/operator/) 是一个系统设计, 将 {{< glossary_tooltip term_id="controller" >}} 关联到一个或多个自定义资源。
1413

1514
<!--
16-
---
1715
title: Operator pattern
1816
id: operator-pattern
1917
date: 2019-05-21
@@ -24,12 +22,14 @@ short_description: >
2422
aka:
2523
tags:
2624
- architecture
27-
---
28-
The [operator pattern](/docs/concepts/extend-kubernetes/operator/) is a system
25+
-->
26+
<!--
27+
The [operator pattern](/docs/concepts/extend-kubernetes/operator/) is a system
2928
design that links a {{< glossary_tooltip term_id="controller" >}} to one or more custom
3029
resources.
3130
-->
32-
31+
[operator 模式](/zh/docs/concepts/extend-kubernetes/operator/) 是一种系统设计,
32+
将 {{< glossary_tooltip term_id="controller" >}} 关联到一个或多个自定义资源。
3333
<!--more-->
3434

3535
<!--
@@ -40,7 +40,9 @@ If a running application acts as a controller and has API access to carry out ta
4040
against a custom resource that's defined in the control plane, that's an example of
4141
the Operator pattern.
4242
-->
43+
除了使用作为 Kubernetes 自身一部分的内置控制器之外,你还可以通过
44+
将控制器添加到集群中来扩展 Kubernetes。
4345

44-
除了使用作为 Kubernetes 自身一部分的内置控制器之外,您还可以通过将控制器添加到集群中来扩展 Kubernetes。
46+
如果正在运行的应用程序能够充当控制器并通过 API 访问的方式来执行任务操控
47+
那些在控制平面中定义的自定义资源,这就是一个 operator 模式的示例。
4548

46-
如果正在运行的应用程序能够充当控制器并通过 API 访问的方式来执行任务操控那些在控制平面中定义的自定义资源,这就是一个 operator 模式的示例。

0 commit comments

Comments
 (0)