@@ -8,7 +8,6 @@ description: "ControllerRevision 实现了状态数据的不可变快照。"
8
8
title : " ControllerRevision"
9
9
weight : 8
10
10
---
11
-
12
11
<!--
13
12
api_metadata:
14
13
apiVersion: "apps/v1"
@@ -38,8 +37,6 @@ The API Server will fail validation of all requests that attempt to mutate the D
38
37
ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback,
39
38
this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability.
40
39
It is primarily for internal use by controllers.
41
-
42
- <hr>
43
40
-->
44
41
ControllerRevision 实现了状态数据的不可变快照。
45
42
客户端负责序列化和反序列化对象,包含对象内部状态。
@@ -52,14 +49,8 @@ API 服务器将无法成功验证所有尝试改变 data 字段的请求。
52
49
53
50
<hr >
54
51
55
- <!--
56
- - **apiVersion**: apps/v1
57
- -->
58
52
- ** apiVersion** : apps/v1
59
53
60
- <!--
61
- - **kind**: ControllerRevision
62
- -->
63
54
- ** kind** : ControllerRevision
64
55
65
56
<!--
@@ -161,7 +152,7 @@ API 服务器将无法成功验证所有尝试改变 data 字段的请求。
161
152
-->
162
153
163
154
那么会发生什么?
164
- 解码首先使用 json 或 yaml 将序列化数据解组到你的外部 MyAPIObject 中。
155
+ 解码首先使用 JSON 或 YAML 将序列化数据解组到你的外部 MyAPIObject 中。
165
156
这会导致原始 JSON 被存储下来,但不会被解包。
166
157
下一步是复制(使用 pkg/conversion)到内部结构中。
167
158
runtime 包的 DefaultScheme 安装了转换函数,它将解析存储在 RawExtension 中的 JSON,
@@ -181,14 +172,8 @@ ControllerRevisionList 是一个包含 ControllerRevision 对象列表的资源
181
172
182
173
<hr>
183
174
184
- <!--
185
- - **apiVersion**: apps/v1
186
- -->
187
175
- **apiVersion**: apps/v1
188
176
189
- <!--
190
- - **kind**: ControllerRevisionList
191
- -->
192
177
- **kind**: ControllerRevisionList
193
178
194
179
<!--
@@ -208,12 +193,10 @@ ControllerRevisionList 是一个包含 ControllerRevision 对象列表的资源
208
193
-->
209
194
- **items** ([]<a href="{{< ref "../workload-resources/controller-revision-v1#ControllerRevision" >}}">ControllerRevision</a>),必需
210
195
211
- items 是 ControllerRevisions 的列表
196
+ items 是 ControllerRevisions 的列表。
212
197
213
198
<!--
214
199
## Operations {#Operations}
215
-
216
- <hr>
217
200
-->
218
201
## 操作 {#Operations}
219
202
@@ -245,7 +228,7 @@ GET /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}
245
228
-->
246
229
- **name** (**路径参数**):string,必需
247
230
248
- ControllerRevision 的名称
231
+ ControllerRevision 的名称。
249
232
250
233
<!--
251
234
- **namespace** (*in path*): string, required
@@ -281,7 +264,7 @@ GET /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}
281
264
<!--
282
265
### `list` list or watch objects of kind ControllerRevision
283
266
-->
284
- ### `list` 列出或监视 ControllerRevision 类别的对象
267
+ ### `list` 列举或监视 ControllerRevision 类别的对象
285
268
286
269
<!--
287
270
#### HTTP Request
@@ -347,7 +330,7 @@ GET /apis/apps/v1/namespaces/{namespace}/controllerrevisions
347
330
348
331
<a href="{{< ref "../common-parameters/common-parameters#limit" >}}">limit</a>
349
332
-->
350
- - **limit** (**查询参数**)) : integer
333
+ - **limit** (**查询参数**): integer
351
334
352
335
<a href="{{< ref "../common-parameters/common-parameters#limit" >}}">limit</a>
353
336
@@ -421,7 +404,7 @@ GET /apis/apps/v1/namespaces/{namespace}/controllerrevisions
421
404
<!--
422
405
### `list` list or watch objects of kind ControllerRevision
423
406
-->
424
- ### `list` 列出或监视 ControllerRevision 类别的对象
407
+ ### `list` 列举或监视 ControllerRevision 类别的对象
425
408
426
409
<!--
427
410
#### HTTP Request
@@ -665,7 +648,7 @@ PUT /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}
665
648
-->
666
649
- **name** (**路径参数**):string,必需
667
650
668
- ControllerRevision 的名称
651
+ ControllerRevision 的名称。
669
652
670
653
<!--
671
654
- **namespace** (*in path*): string, required
@@ -717,7 +700,6 @@ PUT /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}
717
700
718
701
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a>
719
702
720
-
721
703
<!--
722
704
#### Response
723
705
@@ -761,7 +743,7 @@ PATCH /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}
761
743
-->
762
744
- **name** (**路径参数**):string,必需
763
745
764
- ControllerRevision 的名称
746
+ ControllerRevision 的名称。
765
747
766
748
<!--
767
749
- **namespace** (*in path*): string, required
@@ -865,7 +847,7 @@ DELETE /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}
865
847
-->
866
848
- **name** (**路径参数**):string,必需
867
849
868
- ControllerRevision 的名称
850
+ ControllerRevision 的名称。
869
851
870
852
<!--
871
853
- **namespace** (*in path*): string, required
@@ -899,6 +881,15 @@ DELETE /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}
899
881
900
882
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
901
883
884
+ <!--
885
+ - **ignoreStoreReadErrorWithClusterBreakingPotential** (*in query*): boolean
886
+
887
+ <a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
888
+ -->
889
+ - **ignoreStoreReadErrorWithClusterBreakingPotential** (**查询参数**): boolean
890
+
891
+ <a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
892
+
902
893
<!--
903
894
- **pretty** (*in query*): string
904
895
@@ -1003,6 +994,15 @@ DELETE /apis/apps/v1/namespaces/{namespace}/controllerrevisions
1003
994
1004
995
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
1005
996
997
+ <!--
998
+ - **ignoreStoreReadErrorWithClusterBreakingPotential** (*in query*): boolean
999
+
1000
+ <a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
1001
+ -->
1002
+ - **ignoreStoreReadErrorWithClusterBreakingPotential** (**查询参数**): boolean
1003
+
1004
+ <a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
1005
+
1006
1006
<!--
1007
1007
- **labelSelector** (*in query*): string
1008
1008
@@ -1087,4 +1087,3 @@ DELETE /apis/apps/v1/namespaces/{namespace}/controllerrevisions
1087
1087
200 (<a href="{{< ref "../common-definitions/status#Status" >}}">Status</a>): OK
1088
1088
1089
1089
401: Unauthorized
1090
-
0 commit comments