Skip to content

Commit cd3cd28

Browse files
committed
[zh-cn] sync only update api_metadata docs
Signed-off-by: tico88612 <[email protected]> [zh-ch] Add the LimitRange en metadata Signed-off-by: tico88612 <[email protected]> [zh-cn] Add api_reference_title translation Signed-off-by: tico88612 <[email protected]>
1 parent 774a520 commit cd3cd28

File tree

5 files changed

+34
-0
lines changed

5 files changed

+34
-0
lines changed

content/zh-cn/docs/concepts/architecture/leases.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
---
22
title: 租约(Lease)
3+
api_metadata:
4+
- apiVersion: "coordination.k8s.io/v1"
5+
kind: "Lease"
36
content_type: concept
47
weight: 30
58
---
69
<!--
710
title: Leases
11+
api_metadata:
12+
- apiVersion: "coordination.k8s.io/v1"
13+
kind: "Lease"
814
content_type: concept
915
weight: 30
1016
-->

content/zh-cn/docs/concepts/policy/limit-range.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
---
22
title: 限制范围
3+
api_metadata:
4+
- apiVersion: "v1"
5+
kind: "LimitRange"
36
content_type: concept
47
weight: 10
58
---
9+
<!--
10+
reviewers:
11+
- nelvadas
12+
title: Limit Ranges
13+
api_metadata:
14+
- apiVersion: "v1"
15+
kind: "LimitRange"
16+
content_type: concept
17+
weight: 10
18+
-->
619

720
<!-- overview -->
821

content/zh-cn/docs/concepts/services-networking/endpoint-slices.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
22
title: EndpointSlice
3+
api_metadata:
4+
- apiVersion: "discovery.k8s.io/v1"
5+
kind: "EndpointSlice"
36
content_type: concept
47
weight: 60
58
description: >-
@@ -11,6 +14,9 @@ description: >-
1114
reviewers:
1215
- freehan
1316
title: EndpointSlices
17+
api_metadata:
18+
- apiVersion: "discovery.k8s.io/v1"
19+
kind: "EndpointSlice"
1420
content_type: concept
1521
weight: 60
1622
description: >-

content/zh-cn/docs/concepts/workloads/controllers/replicationcontroller.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
22
title: ReplicationController
3+
api_metadata:
4+
- apiVersion: "v1"
5+
kind: "ReplicationController"
36
content_type: concept
47
weight: 90
58
description: >-
@@ -12,6 +15,9 @@ reviewers:
1215
- bprashanth
1316
- janetkuo
1417
title: ReplicationController
18+
api_metadata:
19+
- apiVersion: "v1"
20+
kind: "ReplicationController"
1521
content_type: concept
1622
weight: 90
1723
description: >-

data/i18n/zh-cn/zh-cn.toml

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# i18n strings for the Chinese version of the site (https://kubernetes.io/zh-cn/)
22
# 注意:修改此文件时请维持字符串名称的字母顺序并与英文版保持一致
33

4+
[api_reference_title]
5+
other = "API 参考"
6+
47
[auto_generated_edit_notice]
58
other = "(自动生成的页面)"
69

0 commit comments

Comments
 (0)