@@ -338,15 +338,15 @@ An administrator can manually reclaim the volume with the following steps.
338
338
339
339
<!--
340
340
1. Delete the PersistentVolume. The associated storage asset in external infrastructure
341
- (such as an AWS EBS or GCE PD volume) still exists after the PV is deleted.
341
+ still exists after the PV is deleted.
342
342
1. Manually clean up the data on the associated storage asset accordingly.
343
343
1. Manually delete the associated storage asset.
344
344
345
345
If you want to reuse the same storage asset, create a new PersistentVolume with
346
346
the same storage asset definition.
347
347
-->
348
- 1 . 删除 PersistentVolume 对象。与之相关的、位于外部基础设施中的存储资产
349
- (例如 AWS EBS 或 GCE PD 卷)在 PV 删除之后仍然存在。
348
+ 1 . 删除 PersistentVolume 对象。与之相关的、位于外部基础设施中的存储资产在
349
+ PV 删除之后仍然存在。
350
350
1 . 根据情况,手动清除所关联的存储资产上的数据。
351
351
1 . 手动删除所关联的存储资产。
352
352
@@ -357,8 +357,7 @@ the same storage asset definition.
357
357
358
358
For volume plugins that support the `Delete` reclaim policy, deletion removes
359
359
both the PersistentVolume object from Kubernetes, as well as the associated
360
- storage asset in the external infrastructure, such as an AWS EBS or GCE PD volume.
361
- Volumes that were dynamically provisioned
360
+ storage asset in the external infrastructure. Volumes that were dynamically provisioned
362
361
inherit the [reclaim policy of their StorageClass](#reclaim-policy), which
363
362
defaults to `Delete`. The administrator should configure the StorageClass
364
363
according to users' expectations; otherwise, the PV must be edited or
@@ -368,7 +367,7 @@ patched after it is created. See
368
367
#### 删除(Delete) {#delete}
369
368
370
369
对于支持 ` Delete ` 回收策略的卷插件,删除动作会将 PersistentVolume 对象从
371
- Kubernetes 中移除,同时也会从外部基础设施(如 AWS EBS 或 GCE PD 卷)中移除所关联的存储资产 。
370
+ Kubernetes 中移除,同时也会从外部基础设施中移除所关联的存储资产 。
372
371
动态制备的卷会继承[ 其 StorageClass 中设置的回收策略] ( #reclaim-policy ) ,
373
372
该策略默认为 ` Delete ` 。管理员需要根据用户的期望来配置 StorageClass;
374
373
否则 PV 卷被创建之后必须要被编辑或者修补。
@@ -478,7 +477,7 @@ Access Modes: RWO
478
477
VolumeMode: Filesystem
479
478
Capacity: 1Gi
480
479
Node Affinity: <none>
481
- Message:
480
+ Message:
482
481
Source:
483
482
Type: vSphereVolume (a Persistent Disk resource in vSphere)
484
483
VolumePath: [vsanDatastore] d49c4a62-166f-ce12-c464-020077ba5d46/kubernetes-dynamic-pvc-74a498d6-3929-47e8-8c02-078c1ece4d78.vmdk
@@ -506,7 +505,7 @@ Access Modes: RWO
506
505
VolumeMode: Filesystem
507
506
Capacity: 200Mi
508
507
Node Affinity: <none>
509
- Message:
508
+ Message:
510
509
Source:
511
510
Type: CSI (a Container Storage Interface (CSI) volume source)
512
511
Driver: csi.vsphere.vmware.com
@@ -617,14 +616,12 @@ the following types of volumes:
617
616
* azureFile (deprecated)
618
617
* {{< glossary_tooltip text="csi" term_id="csi" >}}
619
618
* flexVolume (deprecated)
620
- * gcePersistentDisk (deprecated)
621
619
* rbd
622
620
* portworxVolume (deprecated)
623
621
-->
624
622
* azureFile(已弃用)
625
623
* {{< glossary_tooltip text="csi" term_id="csi" >}}
626
624
* flexVolume(已弃用)
627
- * gcePersistentDisk(已弃用)
628
625
* rbd
629
626
* portworxVolume(已弃用)
630
627
@@ -744,15 +741,6 @@ FlexVolume resize is possible only when the underlying driver supports resize.
744
741
FlexVolume 卷的重设大小只能在下层驱动支持重设大小的时候才可进行。
745
742
{{< /note >}}
746
743
747
- {{< note >}}
748
- <!--
749
- Expanding EBS volumes is a time-consuming operation.
750
- Also, there is a per-volume quota of one modification every 6 hours.
751
- -->
752
- 扩充 EBS 卷的操作非常耗时。同时还存在另一个配额限制:
753
- 每 6 小时只能执行一次(尺寸)修改操作。
754
- {{< /note >}}
755
-
756
744
<!--
757
745
# ### Recovering from Failure when Expanding Volumes
758
746
@@ -887,8 +875,6 @@ This means that support is still available but will be removed in a future Kuber
887
875
(**deprecated** in v1.21)
888
876
* [`flexVolume`](/docs/concepts/storage/volumes/#flexvolume) - FlexVolume
889
877
(**deprecated** in v1.23)
890
- * [`gcePersistentDisk`](/docs/concepts/storage/volumes/#gcepersistentdisk) - GCE Persistent Disk
891
- (**deprecated** in v1.17)
892
878
* [`portworxVolume`](/docs/concepts/storage/volumes/#portworxvolume) - Portworx volume
893
879
(**deprecated** in v1.25)
894
880
* [`vsphereVolume`](/docs/concepts/storage/volumes/#vspherevolume) - vSphere VMDK volume
@@ -903,8 +889,6 @@ This means that support is still available but will be removed in a future Kuber
903
889
* [`azureFile`](/zh-cn/docs/concepts/storage/volumes/#azurefile) - Azure File
904
890
(于 v1.21 **弃用**)
905
891
* [`flexVolume`](/zh-cn/docs/concepts/storage/volumes/#flexVolume) - FlexVolume (于 v1.23 **弃用**)
906
- * [`gcePersistentDisk`](/zh-cn/docs/concepts/storage/volumes/#gcepersistentdisk) - GCE Persistent Disk
907
- (于 v1.17 **弃用**)
908
892
* [`portworxVolume`](/zh-cn/docs/concepts/storage/volumes/#portworxvolume) - Portworx 卷
909
893
(于 v1.25 **弃用**)
910
894
* [`vsphereVolume`](/zh-cn/docs/concepts/storage/volumes/#vspherevolume) - vSphere VMDK 卷
@@ -1153,12 +1137,9 @@ Kubernetes 使用卷访问模式来匹配 PersistentVolumeClaim 和 PersistentVo
1153
1137
1154
1138
<!--
1155
1139
> __Important!__ A volume can only be mounted using one access mode at a time,
1156
- > even if it supports many. For example, a GCEPersistentDisk can be mounted as
1157
- > ReadWriteOnce by a single node or ReadOnlyMany by many nodes, but not at the same time.
1140
+ > even if it supports many.
1158
1141
-->
1159
1142
> **重要提醒!** 每个卷同一时刻只能以一种访问模式挂载,即使该卷能够支持多种访问模式。
1160
- > 例如,一个 GCEPersistentDisk 卷可以被某节点以 ReadWriteOnce
1161
- > 模式挂载,或者被多个节点以 ReadOnlyMany 模式挂载,但不可以同时以两种模式挂载。
1162
1143
1163
1144
<!--
1164
1145
| Volume Plugin | ReadWriteOnce | ReadOnlyMany | ReadWriteMany | ReadWriteOncePod |
@@ -1168,8 +1149,6 @@ Kubernetes 使用卷访问模式来匹配 PersistentVolumeClaim 和 PersistentVo
1168
1149
| CSI | depends on the driver | depends on the driver | depends on the driver | depends on the driver |
1169
1150
| FC | ✓ | ✓ | - | - |
1170
1151
| FlexVolume | ✓ | ✓ | depends on the driver | - |
1171
- | GCEPersistentDisk | ✓ | ✓ | - | - |
1172
- | Glusterfs | ✓ | ✓ | ✓ | - |
1173
1152
| HostPath | ✓ | - | - | - |
1174
1153
| iSCSI | ✓ | ✓ | - | - |
1175
1154
| NFS | ✓ | ✓ | ✓ | - |
@@ -1226,20 +1205,20 @@ Current reclaim policies are:
1226
1205
1227
1206
* Retain -- manual reclamation
1228
1207
* Recycle -- basic scrub (`rm -rf /thevolume/*`)
1229
- * Delete -- associated storage asset such as AWS EBS or GCE PD volume is deleted
1208
+ * Delete -- associated storage asset
1230
1209
1231
- Currently, only NFS and HostPath support recycling. AWS EBS and GCE PD volumes support deletion .
1210
+ For Kubernetes {{< skew currentVersion >}}, only `nfs` and `hostPath` volume types support recycling .
1232
1211
-->
1233
1212
# ## 回收策略 {#reclaim-policy}
1234
1213
1235
1214
目前的回收策略有:
1236
1215
1237
1216
* Retain -- 手动回收
1238
- * Recycle -- 基本擦除 (`rm -rf /thevolume/*`)
1239
- * Delete -- 诸如 AWS EBS 或 GCE PD 卷这类关联存储资产也被删除
1217
+ * Recycle -- 简单擦除 (`rm -rf /thevolume/*`)
1218
+ * Delete -- 删除关联存储资产
1240
1219
1241
- 目前,仅 NFS 和 HostPath 支持回收(Recycle)。
1242
- AWS EBS 和 GCE PD 卷支持删除(Delete )。
1220
+ 对于 Kubernetes {{< skew currentVersion >}} 来说,只有
1221
+ ` nfs ` 和 `hostPath` 卷类型支持回收(Recycle )。
1243
1222
1244
1223
<!--
1245
1224
# ## Mount Options
@@ -1264,7 +1243,6 @@ The following volume types support mount options:
1264
1243
* `azureFile`
1265
1244
* `cephfs` (**deprecated** in v1.28)
1266
1245
* `cinder` (**deprecated** in v1.18)
1267
- * `gcePersistentDisk` (**deprecated** in v1.28)
1268
1246
* `iscsi`
1269
1247
* `nfs`
1270
1248
* `rbd` (**deprecated** in v1.28)
@@ -1275,7 +1253,6 @@ The following volume types support mount options:
1275
1253
* `azureFile`
1276
1254
* `cephfs`(于 v1.28 中**弃用**)
1277
1255
* `cinder`(于 v1.18 中**弃用**)
1278
- * `gcePersistentDisk`(于 v1.28 中**弃用**)
1279
1256
* `iscsi`
1280
1257
* `nfs`
1281
1258
* `rbd`(于 v1.28 中**弃用**)
@@ -1302,13 +1279,12 @@ it will become fully deprecated in a future Kubernetes release.
1302
1279
1303
1280
{{< note >}}
1304
1281
<!--
1305
- For most volume types, you do not need to set this field. It is automatically
1306
- populated for [GCE PD](/docs/concepts/storage/volumes/#gcepersistentdisk) volume block types.
1282
+ For most volume types, you do not need to set this field.
1307
1283
You need to explicitly set this for [local](/docs/concepts/storage/volumes/#local) volumes.
1308
1284
-->
1309
- 对大多数类型的卷而言 ,你不需要设置节点亲和性字段。
1310
- [GCE PD ](/zh-cn/docs/concepts/storage/volumes/#gcepersistentdisk) 卷类型能自动设置相关字段。
1311
- 你需要为 [local](/zh-cn/docs/concepts/storage/volumes/#local) 卷显式地设置此属性。
1285
+ 对大多数卷类型而言 ,你不需要设置节点亲和性字段。
1286
+ 你需要为 [local ](/zh-cn/docs/concepts/storage/volumes/#local)
1287
+ 卷显式地设置此属性。
1312
1288
{{< /note >}}
1313
1289
1314
1290
<!--
@@ -1702,7 +1678,6 @@ applicable:
1702
1678
<!--
1703
1679
* CSI
1704
1680
* FC (Fibre Channel)
1705
- * GCEPersistentDisk (deprecated)
1706
1681
* iSCSI
1707
1682
* Local volume
1708
1683
* OpenStack Cinder
@@ -1712,7 +1687,6 @@ applicable:
1712
1687
-->
1713
1688
* CSI
1714
1689
* FC(光纤通道)
1715
- * GCEPersistentDisk(已弃用)
1716
1690
* iSCSI
1717
1691
* Local 卷
1718
1692
* OpenStack Cinder
@@ -2232,4 +2206,3 @@ Read about the APIs described in this page:
2232
2206
2233
2207
* [`PersistentVolume`](/zh-cn/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-v1/)
2234
2208
* [`PersistentVolumeClaim`](/zh-cn/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/)
2235
-
0 commit comments