@@ -36,6 +36,7 @@ StorageClass 是不受名字空间作用域限制的;按照 etcd 设定的存
36
36
<hr >
37
37
38
38
- ** apiVersion** : storage.k8s.io/v1
39
+
39
40
- ** kind** : StorageClass
40
41
41
42
<!--
@@ -49,13 +50,16 @@ StorageClass 是不受名字空间作用域限制的;按照 etcd 设定的存
49
50
AllowVolumeExpansion shows whether the storage class allow volume expand
50
51
-->
51
52
- ** metadata** (<a href="{{< ref "../common-definitions/object-meta#ObjectMeta" >}}">ObjectMeta</a >)
53
+
52
54
标准的对象元数据。更多信息:
53
55
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
54
56
55
57
- ** provisioner** (string),必需
58
+
56
59
provisioner 表示制备器的类别。
57
60
58
61
- ** allowVolumeExpansion** (boolean)
62
+
59
63
allowVolumeExpansion 显示存储类是否允许卷扩充。
60
64
61
65
<!--
@@ -68,6 +72,7 @@ StorageClass 是不受名字空间作用域限制的;按照 etcd 设定的存
68
72
*A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.*
69
73
-->
70
74
- ** allowedTopologies** ([ ] TopologySelectorTerm)
75
+
71
76
** 原子性:将在合并期间被替换**
72
77
73
78
限制可以动态制备卷的节点拓扑。每个卷插件定义其自己支持的拓扑规约。
@@ -91,15 +96,18 @@ StorageClass 是不受名字空间作用域限制的;按照 etcd 设定的存
91
96
An array of string values. One value must match the label to be selected. Each entry in Values is ORed.
92
97
-->
93
98
- ** allowedTopologies.matchLabelExpressions** ([ ] TopologySelectorLabelRequirement)
99
+
94
100
按标签设置的拓扑选择器要求的列表。
95
101
96
102
<a name =" TopologySelectorLabelRequirement " ></a >
97
103
** 拓扑选择器要求是与给定标签匹配的一个选择器。此功能为 Alpha 特性,将来可能会变更。**
98
104
99
105
- ** allowedTopologies.matchLabelExpressions.key** (string),必需
106
+
100
107
选择器所针对的标签键。
101
108
102
109
- ** allowedTopologies.matchLabelExpressions.values** ([ ] string),必需
110
+
103
111
字符串数组。一个值必须与要选择的标签匹配。values 中的每个条目按逻辑或的关系来计算。
104
112
105
113
<!--
@@ -110,10 +118,12 @@ StorageClass 是不受名字空间作用域限制的;按照 etcd 设定的存
110
118
Parameters holds the parameters for the provisioner that should create volumes of this storage class.
111
119
-->
112
120
- ** mountOptions** ([ ] string)
121
+
113
122
此存储类动态制备的 PersistentVolume 用这些 mountOptions(例如 [ "ro", "soft"] )进行创建。
114
123
系统对选项作检查——如果有一个选项无效,则这些 PV 的挂载将失败。
115
124
116
125
- ** parameters** (map[ string] string)
126
+
117
127
parameters 包含应创建此存储类卷的制备器的参数。
118
128
119
129
<!--
@@ -124,9 +134,11 @@ StorageClass 是不受名字空间作用域限制的;按照 etcd 设定的存
124
134
VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.
125
135
-->
126
136
- ** reclaimPolicy** (string)
137
+
127
138
此存储类动态制备的 PersistentVolume 用这个 reclaimPolicy 进行创建。默认为 Delete。
128
139
129
140
- ** volumeBindingMode** (string)
141
+
130
142
volumeBindingMode 指示应该如何制备和绑定 PersistentVolumeClaim。
131
143
未设置时,将使用 VolumeBindingImmediate。
132
144
只有启用 VolumeScheduling 功能特性的服务器才能使用此字段。
@@ -140,6 +152,7 @@ StorageClassList 是存储类的集合。
140
152
<hr >
141
153
142
154
- ** apiVersion** : storage.k8s.io/v1
155
+
143
156
- ** kind** : StorageClassList
144
157
145
158
<!--
@@ -150,10 +163,12 @@ StorageClassList 是存储类的集合。
150
163
Items is the list of StorageClasses
151
164
-->
152
165
- ** metadata** (<a href="{{< ref "../common-definitions/list-meta#ListMeta" >}}">ListMeta</a >)
166
+
153
167
标准的列表元数据。更多信息:
154
168
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
155
169
156
170
- ** items** ([ ] <a href="{{< ref "../config-and-storage-resources/storage-class-v1#StorageClass" >}}">StorageClass</a >),必需
171
+
157
172
items 是 StorageClass 的列表。
158
173
159
174
<!--
@@ -177,9 +192,11 @@ GET /apis/storage.k8s.io/v1/storageclasses/{name}
177
192
-->
178
193
#### 参数
179
194
- ** name** (** 路径参数** ): string,必需
195
+
180
196
StorageClass 的名称
181
197
182
198
- ** pretty** (** 查询参数** ): string
199
+
183
200
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a >
184
201
185
202
<!--
@@ -213,33 +230,43 @@ GET /apis/storage.k8s.io/v1/storageclasses
213
230
-->
214
231
#### 参数
215
232
- ** allowWatchBookmarks** (** 查询参数** ): boolean
233
+
216
234
<a href="{{< ref "../common-parameters/common-parameters#allowWatchBookmarks" >}}">allowWatchBookmarks</a >
217
235
218
236
- ** continue** (** 查询参数** ): string
237
+
219
238
<a href="{{< ref "../common-parameters/common-parameters#continue" >}}">continue</a >
220
239
221
240
- ** fieldSelector** (** 查询参数** ): string
241
+
222
242
<a href="{{< ref "../common-parameters/common-parameters#fieldSelector" >}}">fieldSelector</a >
223
243
224
244
- ** labelSelector** (** 查询参数** ): string
245
+
225
246
<a href="{{< ref "../common-parameters/common-parameters#labelSelector" >}}">labelSelector</a >
226
247
227
248
- ** limit** (** 查询参数** ): integer
249
+
228
250
<a href="{{< ref "../common-parameters/common-parameters#limit" >}}">limit</a >
229
251
230
252
- ** pretty** (** 查询参数** ): string
253
+
231
254
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a >
232
255
233
256
- ** resourceVersion** (** 查询参数** ): string
257
+
234
258
<a href="{{< ref "../common-parameters/common-parameters#resourceVersion" >}}">resourceVersion</a >
235
259
236
260
- ** resourceVersionMatch** (** 查询参数** ): string
261
+
237
262
<a href="{{< ref "../common-parameters/common-parameters#resourceVersionMatch" >}}">resourceVersionMatch</a >
238
263
239
264
- ** timeoutSeconds** (** 查询参数** ): integer
265
+
240
266
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a >
241
267
242
268
- ** watch** (** 查询参数** ): boolean
269
+
243
270
<a href="{{< ref "../common-parameters/common-parameters#watch" >}}">watch</a >
244
271
245
272
<!--
@@ -268,16 +295,21 @@ POST /apis/storage.k8s.io/v1/storageclasses
268
295
-->
269
296
#### 参数
270
297
- ** body** : <a href="{{< ref "../config-and-storage-resources/storage-class-v1#StorageClass" >}}">StorageClass</a >,必需
298
+
271
299
- ** dryRun** (** 查询参数** ): string
300
+
272
301
<a href="{{< ref "../common-parameters/common-parameters#dryRun" >}}">dryRun</a >
273
302
274
303
- ** fieldManager** (** 查询参数** ): string
304
+
275
305
<a href="{{< ref "../common-parameters/common-parameters#fieldManager" >}}">fieldManager</a >
276
306
277
307
- ** fieldValidation** (** 查询参数** ): string
308
+
278
309
<a href="{{< ref "../common-parameters/common-parameters#fieldValidation" >}}">fieldValidation</a >
279
310
280
311
- ** pretty** (** 查询参数** ): string
312
+
281
313
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a >
282
314
283
315
<!--
@@ -312,19 +344,25 @@ PUT /apis/storage.k8s.io/v1/storageclasses/{name}
312
344
-->
313
345
#### 参数
314
346
- ** name** (** 路径参数** ): string,必需
347
+
315
348
StorageClass 的名称
316
349
317
350
- ** body** : <a href="{{< ref "../config-and-storage-resources/storage-class-v1#StorageClass" >}}">StorageClass</a >,必需
351
+
318
352
- ** dryRun** (** 查询参数** ): string
353
+
319
354
<a href="{{< ref "../common-parameters/common-parameters#dryRun" >}}">dryRun</a >
320
355
321
356
- ** fieldManager** (** 查询参数** ): string
357
+
322
358
<a href="{{< ref "../common-parameters/common-parameters#fieldManager" >}}">fieldManager</a >
323
359
324
360
- ** fieldValidation** (** 查询参数** ): string
361
+
325
362
<a href="{{< ref "../common-parameters/common-parameters#fieldValidation" >}}">fieldValidation</a >
326
363
327
364
- ** pretty** (** 查询参数** ): string
365
+
328
366
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a >
329
367
330
368
<!--
@@ -358,22 +396,29 @@ PATCH /apis/storage.k8s.io/v1/storageclasses/{name}
358
396
-->
359
397
#### 参数
360
398
- ** name** (** 路径参数** ): string,必需
399
+
361
400
StorageClass 的名称
362
401
363
402
- ** body** : <a href="{{< ref "../common-definitions/patch#Patch" >}}">Patch</a >,必需
403
+
364
404
- ** dryRun** (** 查询参数** ): string
405
+
365
406
<a href="{{< ref "../common-parameters/common-parameters#dryRun" >}}">dryRun</a >
366
407
367
408
- ** fieldManager** (** 查询参数** ): string
409
+
368
410
<a href="{{< ref "../common-parameters/common-parameters#fieldManager" >}}">fieldManager</a >
369
411
370
412
- ** fieldValidation** (** 查询参数** ): string
413
+
371
414
<a href="{{< ref "../common-parameters/common-parameters#fieldValidation" >}}">fieldValidation</a >
372
415
373
416
- ** force** (** 查询参数** ): boolean
417
+
374
418
<a href="{{< ref "../common-parameters/common-parameters#force" >}}">force</a >
375
419
376
420
- ** pretty** (** 查询参数** ): string
421
+
377
422
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a >
378
423
379
424
<!--
@@ -406,19 +451,25 @@ DELETE /apis/storage.k8s.io/v1/storageclasses/{name}
406
451
-->
407
452
#### 参数
408
453
- ** name** (** 路径参数** ): string,必需
454
+
409
455
StorageClass 的名称
410
456
411
457
- ** body** : <a href="{{< ref "../common-definitions/delete-options#DeleteOptions" >}}">DeleteOptions</a >
458
+
412
459
- ** dryRun** (** 查询参数** ): string
460
+
413
461
<a href="{{< ref "../common-parameters/common-parameters#dryRun" >}}">dryRun</a >
414
462
415
463
- ** gracePeriodSeconds** (** 查询参数** ): integer
464
+
416
465
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a >
417
466
418
467
- ** pretty** (** 查询参数** ): string
468
+
419
469
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a >
420
470
421
471
- ** propagationPolicy** (** 查询参数** ): string
472
+
422
473
<a href="{{< ref "../common-parameters/common-parameters#propagationPolicy" >}}">propagationPolicy</a >
423
474
424
475
<!--
@@ -456,37 +507,49 @@ DELETE /apis/storage.k8s.io/v1/storageclasses
456
507
-->
457
508
#### 参数
458
509
- ** body** : <a href="{{< ref "../common-definitions/delete-options#DeleteOptions" >}}">DeleteOptions</a >
510
+
459
511
- ** continue** (** 查询参数** ): string
512
+
460
513
<a href="{{< ref "../common-parameters/common-parameters#continue" >}}">continue</a >
461
514
462
515
- ** dryRun** (** 查询参数** ): string
516
+
463
517
<a href="{{< ref "../common-parameters/common-parameters#dryRun" >}}">dryRun</a >
464
518
465
519
- ** fieldSelector** (** 查询参数** ): string
520
+
466
521
<a href="{{< ref "../common-parameters/common-parameters#fieldSelector" >}}">fieldSelector</a >
467
522
468
523
- ** gracePeriodSeconds** (** 查询参数** ): integer
524
+
469
525
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a >
470
526
471
527
- ** labelSelector** (** 查询参数** ): string
528
+
472
529
<a href="{{< ref "../common-parameters/common-parameters#labelSelector" >}}">labelSelector</a >
473
530
474
531
- ** limit** (** 查询参数** ): integer
532
+
475
533
<a href="{{< ref "../common-parameters/common-parameters#limit" >}}">limit</a >
476
534
477
535
- ** pretty** (** 查询参数** ): string
536
+
478
537
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a >
479
538
480
539
- ** propagationPolicy** (** 查询参数** ): string
540
+
481
541
<a href="{{< ref "../common-parameters/common-parameters#propagationPolicy" >}}">propagationPolicy</a >
482
542
483
543
- ** resourceVersion** (** 查询参数** ): string
544
+
484
545
<a href="{{< ref "../common-parameters/common-parameters#resourceVersion" >}}">resourceVersion</a >
485
546
486
547
- ** resourceVersionMatch** (** 查询参数** ): string
548
+
487
549
<a href="{{< ref "../common-parameters/common-parameters#resourceVersionMatch" >}}">resourceVersionMatch</a >
488
550
489
551
- ** timeoutSeconds** (** 查询参数** ): integer
552
+
490
553
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a >
491
554
492
555
<!--
0 commit comments