Skip to content

Commit b038f0c

Browse files
committed
[zh] Update storage-class-v1, volume-attachment-v1, volume-attributes-class-v1beta1
1 parent 419424e commit b038f0c

File tree

4 files changed

+79
-24
lines changed

4 files changed

+79
-24
lines changed

content/zh-cn/docs/reference/kubernetes-api/config-and-storage-resources/storage-class-v1.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ GET /apis/storage.k8s.io/v1/storageclasses/{name}
248248
### `list` list or watch objects of kind StorageClass
249249
#### HTTP Request
250250
-->
251-
### `list` 列出或观测类别为 StorageClass 的对象
251+
### `list` 列举或观测类别为 StorageClass 的对象
252252

253253
#### HTTP 请求
254254

@@ -505,6 +505,7 @@ DELETE /apis/storage.k8s.io/v1/storageclasses/{name}
505505
- **body**: <a href="{{< ref "../common-definitions/delete-options#DeleteOptions" >}}">DeleteOptions</a>
506506
- **dryRun** (*in query*): string
507507
- **gracePeriodSeconds** (*in query*): integer
508+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (*in query*): boolean
508509
- **pretty** (*in query*): string
509510
- **propagationPolicy** (*in query*): string
510511
-->
@@ -524,6 +525,10 @@ DELETE /apis/storage.k8s.io/v1/storageclasses/{name}
524525

525526
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
526527

528+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (**查询参数**): boolean
529+
530+
<a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
531+
527532
- **pretty** (**查询参数**): string
528533

529534
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a>
@@ -560,6 +565,7 @@ DELETE /apis/storage.k8s.io/v1/storageclasses
560565
- **dryRun** (*in query*): string
561566
- **fieldSelector** (*in query*): string
562567
- **gracePeriodSeconds** (*in query*): integer
568+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (*in query*): boolean
563569
- **labelSelector** (*in query*): string
564570
- **limit** (*in query*): integer
565571
- **pretty** (*in query*): string
@@ -588,6 +594,10 @@ DELETE /apis/storage.k8s.io/v1/storageclasses
588594

589595
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
590596

597+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (**查询参数**): boolean
598+
599+
<a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
600+
591601
- **labelSelector** (**查询参数**): string
592602

593603
<a href="{{< ref "../common-parameters/common-parameters#labelSelector" >}}">labelSelector</a>

content/zh-cn/docs/reference/kubernetes-api/config-and-storage-resources/storage-version-migration-v1alpha1.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ auto_generated: true
2929
<!--
3030
StorageVersionMigration represents a migration of stored data to the latest storage version.
3131
-->
32-
StorageVersionMigration 表示将表示存储的数据向最新存储版本的一次迁移
32+
StorageVersionMigration 表示存储的数据向最新存储版本的一次迁移
3333

3434
<hr>
3535

@@ -79,7 +79,7 @@ Spec of the storage version migration.
7979
8080
The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is "Running", users can use this token to check the progress of the migration.
8181
82-
- **resource** (GroupVersionResource),必需
82+
- **resource** (GroupVersionResource), required
8383
8484
The resource that is being migrated. The migrator sends requests to the endpoint serving the resource. Immutable.
8585
@@ -88,7 +88,7 @@ Spec of the storage version migration.
8888
-->
8989
- **continueToken** (string)
9090

91-
在 list 操作中用来获取下一批要迁移的对象时要所用的令牌
91+
在 list 操作中用来获取下一批要迁移的对象时所用的令牌
9292
`.status.conditions` 指示迁移处于 “Running” 状态时,用户可以使用此令牌检查迁移的进度。
9393

9494
- **resource** (GroupVersionResource),必需
@@ -854,6 +854,10 @@ DELETE /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}
854854
855855
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
856856
857+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (*in query*): boolean
858+
859+
<a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
860+
857861
- **pretty** (*in query*): string
858862
859863
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a>
@@ -878,6 +882,10 @@ DELETE /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}
878882

879883
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
880884

885+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (**查询参数**): boolean
886+
887+
<a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
888+
881889
- **pretty** (**查询参数**): string
882890

883891
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a>
@@ -929,6 +937,10 @@ DELETE /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations
929937
930938
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
931939
940+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (*in query*): boolean
941+
942+
<a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
943+
932944
- **labelSelector** (*in query*): string
933945
934946
<a href="{{< ref "../common-parameters/common-parameters#labelSelector" >}}">labelSelector</a>
@@ -981,6 +993,10 @@ DELETE /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations
981993

982994
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
983995

996+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (**查询参数**): boolean
997+
998+
<a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
999+
9841000
- **labelSelector** (**查询参数**): string
9851001

9861002
<a href="{{< ref "../common-parameters/common-parameters#labelSelector" >}}">labelSelector</a>

content/zh-cn/docs/reference/kubernetes-api/config-and-storage-resources/volume-attachment-v1.md

Lines changed: 33 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ VolumeAttachmentSpec 是 VolumeAttachment 请求的规约。
9696
source represents the volume that should be attached.
9797
9898
<a name="VolumeAttachmentSource"></a>
99-
*VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.*
99+
*VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.*
100100
101101
- **source.inlineVolumeSpec** (<a href="{{< ref "../config-and-storage-resources/persistent-volume-v1#PersistentVolumeSpec" >}}">PersistentVolumeSpec</a>)
102102
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
@@ -110,21 +110,22 @@ VolumeAttachmentSpec 是 VolumeAttachment 请求的规约。
110110
source 表示应挂接的卷。
111111

112112
<a name="VolumeAttachmentSource"></a>
113-
**VolumeAttachmentSource 表示应挂接的卷。现在只能通过外部挂接器挂接 PersistenVolume
113+
**VolumeAttachmentSource 表示应挂接的卷。现在只能通过外部挂接器挂接 PersistentVolume
114114
将来我们可能还允许 Pod 中的内联卷。只能设置一个成员。**
115115

116116
- **source.inlineVolumeSpec** (<a href="{{< ref "../config-and-storage-resources/persistent-volume-v1#PersistentVolumeSpec" >}}">PersistentVolumeSpec</a>)
117117

118118
inlineVolumeSpec 包含挂接由 Pod 的内联 VolumeSource 定义的持久卷时所有必需的信息。
119-
仅为 CSIMigation 功能填充此字段
119+
仅为 CSIMigation 特性填充此字段
120120
它包含从 Pod 的内联 VolumeSource 转换为 PersistentVolumeSpec 的字段。
121-
此字段处于 Beta 阶段,且只有启用 CSIMigration 功能的服务器才能使用此字段
121+
此字段处于 Beta 阶段,且只有启用 CSIMigration 特性的服务器才能使用此字段
122122

123123
- **source.persistentVolumeName** (string)
124124

125125
persistentVolumeName 是要挂接的持久卷的名称。
126126

127127
## VolumeAttachmentStatus {#VolumeAttachmentStatus}
128+
128129
<!--
129130
VolumeAttachmentStatus is the status of a VolumeAttachment request.
130131
@@ -149,7 +150,16 @@ VolumeAttachmentStatus 是 VolumeAttachment 请求的状态。
149150
150151
<a name="VolumeError"></a>
151152
*VolumeError captures an error encountered during a volume operation.*
153+
-->
154+
- **attachError** (VolumeError)
155+
156+
attachError 表示挂接操作期间遇到的最后一个错误,如果有。
157+
此字段只能由完成挂接操作的实体(例如外部挂接器)进行设置。
152158

159+
<a name="VolumeError"></a>
160+
**VolumeError 抓取卷操作期间遇到的一个错误。**
161+
162+
<!--
153163
- **attachError.message** (string)
154164
155165
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
@@ -160,14 +170,7 @@ VolumeAttachmentStatus 是 VolumeAttachment 请求的状态。
160170
161171
<a name="Time"></a>
162172
*Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.*
163-
-->
164-
- **attachError** (VolumeError)
165-
166-
attachError 表示挂接操作期间遇到的最后一个错误,如果有。
167-
此字段只能由完成挂接操作的实体(例如外部挂接器)进行设置。
168-
169-
<a name="VolumeError"></a>
170-
**VolumeError 抓取卷操作期间遇到的一个错误。**
173+
-->
171174

172175
- **attachError.message** (string)
173176

@@ -288,7 +291,7 @@ GET /apis/storage.k8s.io/v1/volumeattachments/{name}
288291

289292
- **name** (**路径参数**): string,必需
290293

291-
VolumeAttachment 的名称
294+
VolumeAttachment 的名称
292295

293296
- **pretty** (**查询参数**): string
294297

@@ -323,7 +326,7 @@ GET /apis/storage.k8s.io/v1/volumeattachments/{name}/status
323326

324327
- **name** (**路径参数**): string,必需
325328

326-
VolumeAttachment 的名称
329+
VolumeAttachment 的名称
327330

328331
- **pretty** (**查询参数**): string
329332

@@ -342,7 +345,7 @@ GET /apis/storage.k8s.io/v1/volumeattachments/{name}/status
342345
### `list` list or watch objects of kind VolumeAttachment
343346
#### HTTP Request
344347
-->
345-
### `list` 列出或观测类别为 VolumeAttachment 的对象
348+
### `list` 列举或观测类别为 VolumeAttachment 的对象
346349

347350
#### HTTP 请求
348351

@@ -491,7 +494,7 @@ PUT /apis/storage.k8s.io/v1/volumeattachments/{name}
491494

492495
- **name** (**路径参数**): string,必需
493496

494-
VolumeAttachment 的名称
497+
VolumeAttachment 的名称
495498

496499
- **body**: <a href="{{< ref "../config-and-storage-resources/volume-attachment-v1#VolumeAttachment" >}}">VolumeAttachment</a>,必需
497500

@@ -546,7 +549,7 @@ PUT /apis/storage.k8s.io/v1/volumeattachments/{name}/status
546549

547550
- **name** (**路径参数**): string,必需
548551

549-
VolumeAttachment 的名称
552+
VolumeAttachment 的名称
550553

551554
- **body**: <a href="{{< ref "../config-and-storage-resources/volume-attachment-v1#VolumeAttachment" >}}">VolumeAttachment</a>,必需
552555

@@ -602,7 +605,7 @@ PATCH /apis/storage.k8s.io/v1/volumeattachments/{name}
602605

603606
- **name** (**路径参数**): string,必需
604607

605-
VolumeAttachment 的名称
608+
VolumeAttachment 的名称
606609

607610
- **body**: <a href="{{< ref "../common-definitions/patch#Patch" >}}">Patch</a>,必需
608611

@@ -662,7 +665,7 @@ PATCH /apis/storage.k8s.io/v1/volumeattachments/{name}/status
662665

663666
- **name** (**路径参数**): string,必需
664667

665-
VolumeAttachment 的名称
668+
VolumeAttachment 的名称
666669

667670
- **body**: <a href="{{< ref "../common-definitions/patch#Patch" >}}">Patch</a>,必需
668671

@@ -714,14 +717,15 @@ DELETE /apis/storage.k8s.io/v1/volumeattachments/{name}
714717
- **body**: <a href="{{< ref "../common-definitions/delete-options#DeleteOptions" >}}">DeleteOptions</a>
715718
- **dryRun** (*in query*): string
716719
- **gracePeriodSeconds** (*in query*): integer
720+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (*in query*): boolean
717721
- **pretty** (*in query*): string
718722
- **propagationPolicy** (*in query*): string
719723
-->
720724
#### 参数
721725

722726
- **name** (**路径参数**): string,必需
723727

724-
VolumeAttachment 的名称
728+
VolumeAttachment 的名称
725729

726730
- **body**: <a href="{{< ref "../common-definitions/delete-options#DeleteOptions" >}}">DeleteOptions</a>
727731

@@ -733,6 +737,10 @@ DELETE /apis/storage.k8s.io/v1/volumeattachments/{name}
733737

734738
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
735739

740+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (**查询参数**): boolean
741+
742+
<a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
743+
736744
- **pretty** (**查询参数**): string
737745

738746
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a>
@@ -769,6 +777,7 @@ DELETE /apis/storage.k8s.io/v1/volumeattachments
769777
- **dryRun** (*in query*): string
770778
- **fieldSelector** (*in query*): string
771779
- **gracePeriodSeconds** (*in query*): integer
780+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (*in query*): boolean
772781
- **labelSelector** (*in query*): string
773782
- **limit** (*in query*): integer
774783
- **pretty** (*in query*): string
@@ -797,6 +806,10 @@ DELETE /apis/storage.k8s.io/v1/volumeattachments
797806

798807
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
799808

809+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (**查询参数**): boolean
810+
811+
<a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
812+
800813
- **labelSelector** (**查询参数**): string
801814

802815
<a href="{{< ref "../common-parameters/common-parameters#labelSelector" >}}">labelSelector</a>

content/zh-cn/docs/reference/kubernetes-api/config-and-storage-resources/volume-attributes-class-v1beta1.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,10 @@ DELETE /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}
511511
512512
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
513513
514+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (*in query*): boolean
515+
516+
<a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
517+
514518
- **pretty** (*in query*): string
515519
516520
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a>
@@ -535,6 +539,10 @@ DELETE /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}
535539

536540
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
537541

542+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (**查询参数**): boolean
543+
544+
<a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
545+
538546
- **pretty** (**查询参数**): string
539547

540548
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a>
@@ -586,6 +594,10 @@ DELETE /apis/storage.k8s.io/v1beta1/volumeattributesclasses
586594
587595
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
588596
597+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (*in query*): boolean
598+
599+
<a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
600+
589601
- **labelSelector** (*in query*): string
590602
591603
<a href="{{< ref "../common-parameters/common-parameters#labelSelector" >}}">labelSelector</a>
@@ -638,6 +650,10 @@ DELETE /apis/storage.k8s.io/v1beta1/volumeattributesclasses
638650

639651
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
640652

653+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (**查询参数**): boolean
654+
655+
<a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
656+
641657
- **labelSelector** (**查询参数**): string
642658

643659
<a href="{{< ref "../common-parameters/common-parameters#labelSelector" >}}">labelSelector</a>

0 commit comments

Comments
 (0)