Skip to content

Commit 692e997

Browse files
author
mengjiao.liu
committed
[zh] Sync content/en/docs/concepts/storage/persistent-volumes.md
1 parent 936e2c6 commit 692e997

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

content/zh/docs/concepts/storage/persistent-volumes.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Pod 会耗用节点资源,而 PVC 申领会耗用 PV 资源。Pod 可以请求
6969
模式之一来挂载,参见[访问模式](#access-modes))。
7070

7171
<!--
72-
While PersistentVolumeClaims allow a user to consume abstract storage resources, it is common that users need PersistentVolumes with varying properties, such as performance, for different problems. Cluster administrators need to be able to offer a variety of PersistentVolumes that differ in more ways than just size and access modes, without exposing users to the details of how those volumes are implemented. For these needs, there is the _StorageClass_ resource.
72+
While PersistentVolumeClaims allow a user to consume abstract storage resources, it is common that users need PersistentVolumes with varying properties, such as performance, for different problems. Cluster administrators need to be able to offer a variety of PersistentVolumes that differ in more ways than size and access modes, without exposing users to the details of how those volumes are implemented. For these needs, there is the _StorageClass_ resource.
7373
7474
See the [detailed walkthrough with working examples](/docs/tasks/configure-pod-container/configure-persistent-volume-storage/).
7575
-->
@@ -935,9 +935,9 @@ The following volume types support mount options:
935935
* iSCSI
936936

937937
<!--
938-
Mount options are not validated, so mount will simply fail if one is invalid.
938+
Mount options are not validated, If a mount option is invalid, the mount fails.
939939
-->
940-
Kubernetes 不对挂载选项执行合法性检查,因此非法的挂载选项只是会导致挂载失败
940+
Kubernetes 不对挂载选项执行合法性检查。如果挂载选项是非法的,挂载就会失败
941941

942942
<!--
943943
In the past, the annotation `volume.beta.kubernetes.io/mount-options` was used instead
@@ -1211,6 +1211,17 @@ PersistentVolume 卷的绑定是排他性的。
12111211
由于 PersistentVolumeClaim 是名字空间作用域的对象,使用
12121212
"Many" 模式(`ROX`、`RWX`)来挂载申领的操作只能在同一名字空间内进行。
12131213

1214+
<!--
1215+
### PersistentVolumes typed `hostPath`
1216+
1217+
A `hostPath` PersistentVolume uses a file or directory on the Node to emulate network-attached storage.
1218+
See [an example of `hostPath` typed volume](/docs/tasks/configure-pod-container/configure-persistent-volume-storage/#create-a-persistentvolume).
1219+
-->
1220+
### 类型为 `hostpath` 的 PersistentVolume {#persistentvolumes-typed-hostpath}
1221+
1222+
`hostPath` PersistentVolume 使用节点上的文件或目录来模拟网络附加(network-attached)存储。
1223+
相关细节可参阅[`hostPath` 卷示例](/zh/docs/tasks/configure-pod-container/configure-persistent-volume-storage/#create-a-persistentvolume)。
1224+
12141225
<!--
12151226
## Raw Block Volume Support
12161227
-->

0 commit comments

Comments
 (0)