@@ -10,17 +10,6 @@ weight: 9
10
10
auto_generated : true
11
11
---
12
12
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
-
24
13
` apiVersion: v1 `
25
14
26
15
` import "k8s.io/api/core/v1" `
@@ -30,7 +19,8 @@ guide. You can file document formatting bugs against the
30
19
<!--
31
20
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.
32
21
-->
33
- Binding 将一个对象与另一个对象联系起来; 例如,一个 Pod 被调度程序绑定到一个节点。1.7 已弃用,请使用 Pod 的 Binding 子资源。
22
+ Binding 将一个对象与另一个对象联系起来; 例如,一个 Pod 被调度程序绑定到一个节点。
23
+ 已在 1.7 版本弃用,请使用 Pod 的 binding 子资源。
34
24
<hr >
35
25
36
26
- ** apiVersion** : v1
@@ -42,18 +32,22 @@ Binding 将一个对象与另一个对象联系起来; 例如,一个 Pod 被
42
32
- ** metadata** (<a href="{{< ref "../common-definitions/object-meta#ObjectMeta" >}}">ObjectMeta</a >)
43
33
<!--
44
34
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
45
37
38
+ <!--
46
39
- **target** (<a href="{{< ref "../common-definitions/object-reference#ObjectReference" >}}">ObjectReference</a>), required
47
40
48
41
The target object that you want to bind to the standard object.
49
42
-->
50
- 标准对象的元数据, 更多信息: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
51
43
52
- - ** target** (<a href="{{< ref "../common-definitions/object-reference#ObjectReference" >}}">ObjectReference</a >), 必需的
44
+ - ** target** (<a href="{{< ref "../common-definitions/object-reference#ObjectReference" >}}">ObjectReference</a >), 必需
53
45
54
46
要绑定到标准对象的目标对象。
55
-
47
+ <!--
56
48
## Operations {#Operations}
49
+ -->
50
+ ## 操作 {#operations}
57
51
58
52
<hr >
59
53
@@ -82,12 +76,12 @@ POST /api/v1/namespaces/{namespace}/bindings
82
76
83
77
- **body**: <a href="{{< ref "../cluster-resources/binding-v1#Binding" >}}">Binding</a>, required
84
78
-->
85
- - ** namespace** (** 在路径上 ** ): string, 必需的
79
+ - ** namespace** (** 路径参数 ** ): string, 必需
86
80
87
81
<a href="{{< ref "../common-parameters/common-parameters#namespace" >}}">namespace</a >
88
82
89
83
90
- - ** body** : <a href="{{< ref "../cluster-resources/binding-v1#Binding" >}}">Binding</a >, 必需的
84
+ - ** body** : <a href="{{< ref "../cluster-resources/binding-v1#Binding" >}}">Binding</a >, 必需
91
85
92
86
<!--
93
87
- **dryRun** (*in query*): string
@@ -173,15 +167,15 @@ POST /api/v1/namespaces/{namespace}/pods/{name}/binding
173
167
-->
174
168
#### 参数
175
169
176
- - ** name** (* 在路径内 * ): string, 必需的
170
+ - ** name** (** 路径参数 ** ): string, 必需
177
171
178
172
Binding 的名称
179
173
180
- - ** namespace** (* 在路径内 * ): string, 必需的
174
+ - ** namespace** (** 路径参数 ** ): string, 必需
181
175
182
176
<a href="{{< ref "../common-parameters/common-parameters#namespace" >}}">namespace</a >
183
177
184
- - ** body** : <a href="{{< ref "../cluster-resources/binding-v1#Binding" >}}">Binding</a >, 必需的
178
+ - ** body** : <a href="{{< ref "../cluster-resources/binding-v1#Binding" >}}">Binding</a >, 必需
185
179
186
180
<!--
187
181
- **dryRun** (*in query*): string
0 commit comments