Skip to content

Commit c9d2ffe

Browse files
committed
good first issues about link and consistency
1 parent 73653c4 commit c9d2ffe

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

content/zh/docs/reference/kubernetes-api/common-definitions/delete-options.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ api_metadata:
44
import: "k8s.io/apimachinery/pkg/apis/meta/v1"
55
kind: "DeleteOptions"
66
content_type: "api_reference"
7-
description: "删除 API 对象时可能会提供删除选项"
8-
title: "删除选项"
7+
description: "删除 API 对象时可以提供 DeleteOptions"
8+
title: "DeleteOptions"
99
weight: 1
1010
auto_generated: true
1111
---
@@ -25,7 +25,7 @@ auto_generated: true
2525
`import "k8s.io/apimachinery/pkg/apis/meta/v1"`
2626

2727
<!--DeleteOptions may be provided when deleting an API object.-->
28-
删除 API 对象时可能会提供 DeleteOptions。
28+
删除 API 对象时可以提供 DeleteOptions。
2929

3030
<hr>
3131

@@ -39,7 +39,7 @@ auto_generated: true
3939

4040
`APIVersion` 定义对象表示的版本化模式。
4141
服务器应将已识别的模式转换为最新的内部值,并可能拒绝无法识别的值。
42-
更多信息:https ://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
42+
更多信息:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
4343

4444
<!--
4545
- **dryRun** ([]string)
@@ -75,7 +75,7 @@ auto_generated: true
7575

7676
`kind` 是一个字符串值,表示此对象代表的 REST 资源。
7777
服务器可以从客户端提交请求的端点推断出此值。此值无法更新,是驼峰的格式。
78-
更多信息:https ://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds 。
78+
更多信息:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
7979

8080
<!--
8181
- **orphanDependents** (boolean)
@@ -119,7 +119,7 @@ auto_generated: true
119119

120120
- **preconditions.uid** (string)
121121

122-
指定目标 UID.
122+
指定目标 UID
123123

124124
<!--
125125
- **propagationPolicy** (string)

content/zh/docs/reference/kubernetes-api/common-definitions/label-selector.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ api_metadata:
55
kind: "LabelSelector"
66
content_type: "api_reference"
77
description: "标签选择器是对一组资源的标签查询。"
8-
title: "标签选择器"
8+
title: "LabelSelector"
99
weight: 2
1010
auto_generated: true
1111
---
@@ -23,11 +23,14 @@ weight: 2
2323

2424
`import "k8s.io/apimachinery/pkg/apis/meta/v1"`
2525

26-
<!-- A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.-->
26+
<!--
27+
A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
28+
-->
2729

2830
标签选择器是对一组资源的标签查询。
2931

30-
`matchLabels``matchExpressions` 的结果按逻辑与的关系组合。一个 `empty` 标签选择器匹配所有对象。一个 `null` 标签选择器不匹配任何对象。
32+
`matchLabels``matchExpressions` 的结果按逻辑与的关系组合。
33+
一个 `empty` 标签选择器匹配所有对象。一个 `null` 标签选择器不匹配任何对象。
3134

3235
<hr>
3336

@@ -42,7 +45,7 @@ weight: 2
4245

4346
- **matchExpressions** ([]LabelSelectorRequirement)
4447

45-
`matchExpressions` `LabelSelectorRequirement` 的列表,这些需求结果按逻辑与的关系来计算
48+
`matchExpressions` 是标签选择器要求的列表,这些要求的结果按逻辑与的关系来计算
4649

4750
<a name="LabelSelectorRequirement"></a>
4851
*标签选择器要求是包含值、键和关联键和值的运算符的选择器。*
@@ -55,9 +58,9 @@ weight: 2
5558

5659
- **matchExpressions.key** (string), 必填
5760

58-
*补丁策略: 按照键 `key` 合并*
61+
*补丁策略按照键 `key` 合并*
5962

60-
`key` 是选择器应用的标签键.
63+
`key` 是选择器应用的标签键
6164

6265
<!--
6366
- **matchExpressions.operator** (string), required
@@ -66,7 +69,7 @@ weight: 2
6669

6770
- **matchExpressions.operator** (string),必填
6871

69-
operator 表示键与一组值的关系。有效的运算符包括 `In``NotIn``Exists``DoesNotExist`
72+
`operator` 表示键与一组值的关系。有效的运算符包括 `In``NotIn``Exists``DoesNotExist`
7073

7174
<!--
7275
- **matchExpressions.values** ([]string)
@@ -78,9 +81,9 @@ weight: 2
7881

7982
`values` 是一个字符串值数组。如果运算符为 `In``NotIn`,则 `values` 数组必须为非空。
8083

81-
如果运算符是 `Exists``DoesNotExist`,则 `values` 数组必须为空。
82-
83-
该数组在战略性补丁(Strategic Merge Patch)期间被替换。
84+
如果运算符是 `Exists``DoesNotExist`,则 `values` 数组必须为空。
85+
86+
该数组在策略性合并补丁(Strategic Merge Patch)期间被替换。
8487

8588
<!--
8689
- **matchLabels** (map[string]string)

0 commit comments

Comments
 (0)