Skip to content

Commit 80c0e7c

Browse files
committed
[zh-cn] Reference files to sync task-32
Signed-off-by: Guangwen Feng <[email protected]>
1 parent cdf0fe8 commit 80c0e7c

File tree

7 files changed

+19
-5
lines changed

7 files changed

+19
-5
lines changed

content/zh-cn/docs/reference/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ operator to use or manage a cluster.
151151
* [kube-scheduler configuration (v1beta2)](/docs/reference/config-api/kube-scheduler-config.v1beta2/),
152152
[kube-scheduler configuration (v1beta3)](/docs/reference/config-api/kube-scheduler-config.v1beta3/) and
153153
[kube-scheduler configuration (v1)](/docs/reference/config-api/kube-scheduler-config.v1/)
154+
* [kube-controller-manager configuration (v1alpha1)](/docs/reference/config-api/kube-controller-manager-config.v1alpha1/)
154155
* [kube-proxy configuration (v1alpha1)](/docs/reference/config-api/kube-proxy-config.v1alpha1/)
155156
* [`audit.k8s.io/v1` API](/docs/reference/config-api/apiserver-audit.v1/)
156157
* [Client authentication API (v1beta1)](/docs/reference/config-api/client-authentication.v1beta1/) and
@@ -179,6 +180,7 @@ operator to use or manage a cluster.
179180
* [kube-scheduler 配置 (v1beta2)](/zh-cn/docs/reference/config-api/kube-scheduler-config.v1beta2/)
180181
[kube-scheduler 配置 (v1beta3)](/zh-cn/docs/reference/config-api/kube-scheduler-config.v1beta3/)
181182
[kube-scheduler 配置 (v1)](/zh-cn/docs/reference/config-api/kube-scheduler-config.v1/)
183+
* [kube-controller-manager 配置 (v1alpha1)](/docs/reference/config-api/kube-controller-manager-config.v1alpha1/)
182184
* [kube-proxy 配置 (v1alpha1)](/zh-cn/docs/reference/config-api/kube-proxy-config.v1alpha1/)
183185
* [`audit.k8s.io/v1` API](/zh-cn/docs/reference/config-api/apiserver-audit.v1/)
184186
* [客户端身份认证 API (v1beta1)](/zh-cn/docs/reference/config-api/client-authentication.v1beta1/)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ CertificateApproval, CertificateSigning, CertificateSubjectRestriction, DefaultI
186186
{{< note >}}
187187
<!--
188188
The [`ValidatingAdmissionPolicy`](#validatingadmissionpolicy) admission plugin is enabled
189-
by default, but is only active if you enable the the `ValidatingAdmissionPolicy`
189+
by default, but is only active if you enable the `ValidatingAdmissionPolicy`
190190
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) **and**
191191
the `admissionregistration.k8s.io/v1alpha1` API.
192192
-->
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
---
22
title: Kubernetes 问题和安全
3-
weight: 40
3+
weight: 70
44
---
5+
<!--
6+
title: Kubernetes Issues and Security
7+
weight: 70
8+
-->

content/zh-cn/docs/reference/kubectl/conventions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
22
title: kubectl 的用法约定
33
content_type: concept
4+
weight: 60
45
---
56
<!--
67
title: kubectl Usage Conventions
78
reviewers:
89
- janetkuo
910
content_type: concept
11+
weight: 60
1012
-->
1113

1214
<!-- overview -->

content/zh-cn/docs/reference/kubectl/jsonpath.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
22
title: JSONPath 支持
33
content_type: concept
4+
weight: 40
45
---
56
<!--
67
title: JSONPath Support
78
content_type: concept
9+
weight: 40
810
-->
911

1012
<!-- overview -->
@@ -95,7 +97,7 @@ Function | Description | Example
9597
`.` or `[]` | child operator | `{.kind}`, `{['kind']}` or `{['name\.type']}` | `List`
9698
`..` | recursive descent | `{..name}` | `127.0.0.1 127.0.0.2 myself e2e`
9799
`*` | wildcard. Get all objects | `{.items[*].metadata.name}` | `[127.0.0.1 127.0.0.2]`
98-
`[start:end :step]` | subscript operator | `{.users[0].name}` | `myself`
100+
`[start:end:step]` | subscript operator | `{.users[0].name}` | `myself`
99101
`[,]` | union operator | `{.items[*]['metadata.name', 'status.capacity']}` | `127.0.0.1 127.0.0.2 map[cpu:4] map[cpu:8]`
100102
`?()` | filter | `{.users[?(@.name=="e2e")].user.password}` | `secret`
101103
`range`, `end` | iterate list | `{range .items[*]}[{.metadata.name}, {.status.capacity}] {end}` | `[127.0.0.1, map[cpu:4]] [127.0.0.2, map[cpu:8]]`
@@ -108,7 +110,7 @@ Function | Description | Example
108110
`.` or `[]` | 子运算符 | `{.kind}`, `{['kind']}` or `{['name\.type']}` | `List`
109111
`..` | 递归下降 | `{..name}` | `127.0.0.1 127.0.0.2 myself e2e`
110112
`*` | 通配符。获取所有对象 | `{.items[*].metadata.name}` | `[127.0.0.1 127.0.0.2]`
111-
`[start:end :step]` | 下标运算符 | `{.users[0].name}` | `myself`
113+
`[start:end:step]` | 下标运算符 | `{.users[0].name}` | `myself`
112114
`[,]` | 并集运算符 | `{.items[*]['metadata.name', 'status.capacity']}` | `127.0.0.1 127.0.0.2 map[cpu:4] map[cpu:8]`
113115
`?()` | 过滤 | `{.users[?(@.name=="e2e")].user.password}` | `secret`
114116
`range`, `end` | 迭代列表 | `{range .items[*]}[{.metadata.name}, {.status.capacity}] {end}` | `[127.0.0.1, map[cpu:4]] [127.0.0.2, map[cpu:8]]`

content/zh-cn/docs/reference/node/_index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ You can also read node reference details from elsewhere in the
2020
Kubernetes documentation, including:
2121
2222
* [Node Metrics Data](/docs/reference/instrumentation/node-metrics).
23+
* [CRI Pod & Container Metrics](/docs/reference/instrumentation/cri-pod-container-metrics).
2324
-->
2425
本部分包含以下有关节点的参考主题:
2526

@@ -28,4 +29,5 @@ Kubernetes documentation, including:
2829

2930
你还可以从 Kubernetes 文档的其他地方阅读节点的详细参考信息,包括:
3031

31-
* [节点指标数据](/zh-cn/docs/reference/instrumentation/node-metrics)
32+
* [节点指标数据](/zh-cn/docs/reference/instrumentation/node-metrics)
33+
* [CRI Pod & 容器指标](/docs/reference/instrumentation/cri-pod-container-metrics).

content/zh-cn/docs/reference/node/topics-on-dockershim-and-cri-compatible-runtimes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
---
22
title: 关于 dockershim 移除和使用兼容 CRI 运行时的文章
33
content_type: reference
4+
weight: 20
45
---
56

67
<!--
78
title: Articles on dockershim Removal and on Using CRI-compatible Runtimes
89
content_type: reference
10+
weight: 20
911
-->
1012

1113
<!-- overview -->

0 commit comments

Comments
 (0)