Skip to content

Commit b448a42

Browse files
authored
Merge pull request #38993 from windsonsea/pvv1
[zh] sync /config-and-storage-resources/persistent-volume-v1.md
2 parents b2401e0 + 8d931c4 commit b448a42

File tree

1 file changed

+3
-53
lines changed

1 file changed

+3
-53
lines changed

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

Lines changed: 3 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ weight: 5
2424
`import "k8s.io/api/core/v1"`
2525

2626
## PersistentVolume {#PersistentVolume}
27+
2728
<!--
2829
PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes
2930
-->
@@ -437,7 +438,7 @@ PersistentVolumeSpec 是持久卷的规约。
437438

438439
cephfs 表示在主机上挂载的 Ceph FS,该文件系统挂载与 Pod 的生命周期相同。
439440

440-
<a name="CephFSPersistentVolumeSource"></a>
441+
<a name="CephFSPersistentVolumeSource"></a>
441442
**表示在 Pod 的生命周期内持续的 Ceph Filesystem 挂载。cephfs 卷不支持所有权管理或 SELinux 重新打标签。**
442443

443444
<!--
@@ -1025,57 +1026,6 @@ PersistentVolumeSpec 是持久卷的规约。
10251026
此处 readOnly 将在 VolumeMounts 中强制设置 readOnly。默认为 false。更多信息:
10261027
https://kubernetes.io/zh-cn/docs/concepts/storage/volumes#gcepersistentdisk
10271028

1028-
<!--
1029-
- **glusterfs** (GlusterfsPersistentVolumeSource)
1030-
glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md
1031-
1032-
<a name="GlusterfsPersistentVolumeSource"></a>
1033-
*Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.*
1034-
-->
1035-
1036-
- **glusterfs** (GlusterfsPersistentVolumeSource)
1037-
1038-
glusterfs 表示挂接到主机并暴露给 Pod 的 Glusterfs 卷。由管理员进行制备。更多信息:
1039-
https://examples.k8s.io/volumes/glusterfs/README.md
1040-
1041-
<a name="GlusterfsPersistentVolumeSource"></a>
1042-
**表示与 Pod 生命周期相同的 Glusterfs 挂载。Glusterfs 卷不支持所有权管理或 SELinux 重新打标签。**
1043-
1044-
<!--
1045-
- **glusterfs.endpoints** (string), required
1046-
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
1047-
1048-
- **glusterfs.path** (string), required
1049-
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
1050-
1051-
- **glusterfs.endpointsNamespace** (string)
1052-
endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
1053-
1054-
- **glusterfs.readOnly** (boolean)
1055-
readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
1056-
-->
1057-
1058-
- **glusterfs.endpoints** (string),必需
1059-
1060-
endpoints 是详细说明 Glusterfs 拓扑的端点名称。更多信息:
1061-
https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
1062-
1063-
- **glusterfs.path** (string),必需
1064-
1065-
path 是 Glusterfs 卷路径。更多信息:
1066-
https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
1067-
1068-
- **glusterfs.endpointsNamespace** (string)
1069-
1070-
endpointsNamespace 是包含 Glusterfs 端点的名字空间。
1071-
如果此字段为空,则 EndpointNamespace 默认为与绑定的 PVC 相同的名字空间。
1072-
更多信息: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
1073-
1074-
- **glusterfs.readOnly** (boolean)
1075-
1076-
此处 readOnly 将强制使用只读权限挂载 Glusterfs 卷。默认为 false。更多信息:
1077-
https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
1078-
10791029
<!--
10801030
- **iscsi** (ISCSIPersistentVolumeSource)
10811031
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.
@@ -1088,7 +1038,7 @@ PersistentVolumeSpec 是持久卷的规约。
10881038

10891039
iscsi 表示挂接到 kubelet 的主机随后暴露给 Pod 的一个 ISCSI Disk 资源。由管理员进行制备。
10901040

1091-
<a name="ISCSIPersistentVolumeSource"></a>
1041+
<a name="ISCSIPersistentVolumeSource"></a>
10921042
**ISCSIPersistentVolumeSource 表示一个 ISCSI 磁盘。ISCSI 卷只能以读/写一次进行挂载。ISCSI 卷支持所有权管理和 SELinux 重新打标签。**
10931043

10941044
<!--

0 commit comments

Comments
 (0)