Skip to content

Commit 603dea2

Browse files
committed
modify
1 parent 8fe03cc commit 603dea2

File tree

1 file changed

+14
-20
lines changed
  • content/zh/docs/reference/kubernetes-api/cluster-resources

1 file changed

+14
-20
lines changed

content/zh/docs/reference/kubernetes-api/cluster-resources/binding-v1.md

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,6 @@ weight: 9
1010
auto_generated: true
1111
---
1212

13-
<!--
14-
The file is auto-generated from the Go source code of the component using a generic
15-
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
16-
to generate the reference documentation, please read
17-
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
18-
To update the reference content, please follow the
19-
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
20-
guide. You can file document formatting bugs against the
21-
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
22-
-->
23-
2413
`apiVersion: v1`
2514

2615
`import "k8s.io/api/core/v1"`
@@ -30,7 +19,8 @@ guide. You can file document formatting bugs against the
3019
<!--
3120
Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.
3221
-->
33-
Binding 将一个对象与另一个对象联系起来; 例如,一个 Pod 被调度程序绑定到一个节点。1.7 已弃用,请使用 Pod 的 Binding 子资源。
22+
Binding 将一个对象与另一个对象联系起来; 例如,一个 Pod 被调度程序绑定到一个节点。
23+
已在 1.7 版本弃用,请使用 Pod 的 binding 子资源。
3424
<hr>
3525

3626
- **apiVersion**: v1
@@ -42,18 +32,22 @@ Binding 将一个对象与另一个对象联系起来; 例如,一个 Pod 被
4232
- **metadata** (<a href="{{< ref "../common-definitions/object-meta#ObjectMeta" >}}">ObjectMeta</a>)
4333
<!--
4434
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
35+
-->
36+
标准对象的元数据, 更多信息: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
4537

38+
<!--
4639
- **target** (<a href="{{< ref "../common-definitions/object-reference#ObjectReference" >}}">ObjectReference</a>), required
4740
4841
The target object that you want to bind to the standard object.
4942
-->
50-
标准对象的元数据, 更多信息: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
5143

52-
- **target** (<a href="{{< ref "../common-definitions/object-reference#ObjectReference" >}}">ObjectReference</a>), 必需的
44+
- **target** (<a href="{{< ref "../common-definitions/object-reference#ObjectReference" >}}">ObjectReference</a>), 必需
5345

5446
要绑定到标准对象的目标对象。
55-
47+
<!--
5648
## Operations {#Operations}
49+
-->
50+
## 操作 {#operations}
5751

5852
<hr>
5953

@@ -82,12 +76,12 @@ POST /api/v1/namespaces/{namespace}/bindings
8276
8377
- **body**: <a href="{{< ref "../cluster-resources/binding-v1#Binding" >}}">Binding</a>, required
8478
-->
85-
- **namespace** (**在路径上**): string, 必需的
79+
- **namespace** (**路径参数**): string, 必需
8680

8781
<a href="{{< ref "../common-parameters/common-parameters#namespace" >}}">namespace</a>
8882

8983

90-
- **body**: <a href="{{< ref "../cluster-resources/binding-v1#Binding" >}}">Binding</a>, 必需的
84+
- **body**: <a href="{{< ref "../cluster-resources/binding-v1#Binding" >}}">Binding</a>, 必需
9185

9286
<!--
9387
- **dryRun** (*in query*): string
@@ -173,15 +167,15 @@ POST /api/v1/namespaces/{namespace}/pods/{name}/binding
173167
-->
174168
#### 参数
175169

176-
- **name** (*在路径内*): string, 必需的
170+
- **name** (**路径参数**): string, 必需
177171

178172
Binding 的名称
179173

180-
- **namespace** (*在路径内*): string, 必需的
174+
- **namespace** (**路径参数**): string, 必需
181175

182176
<a href="{{< ref "../common-parameters/common-parameters#namespace" >}}">namespace</a>
183177

184-
- **body**: <a href="{{< ref "../cluster-resources/binding-v1#Binding" >}}">Binding</a>, 必需的
178+
- **body**: <a href="{{< ref "../cluster-resources/binding-v1#Binding" >}}">Binding</a>, 必需
185179

186180
<!--
187181
- **dryRun** (*in query*): string

0 commit comments

Comments
 (0)