Skip to content

Commit 38a11d4

Browse files
authored
Merge pull request #27102 from mengjiao-liu/sync-volume
[zh] Sync content/en/docs/concepts/storage/volumes.md
2 parents cb5e712 + 449d06e commit 38a11d4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,14 @@ can use any number of volume types simultaneously.
5656
Ephemeral volume types have a lifetime of a pod, but persistent volumes exist beyond
5757
the lifetime of a pod. Consequently, a volume outlives any containers
5858
that run within the pod, and data is preserved across container restarts. When a
59-
pod ceases to exist, the volume is destroyed.
59+
pod ceases to exist, Kubernetes destroys ephemeral volumes; however, Kubernetes does not
60+
destroy persistent volumes.
6061
-->
6162
Kubernetes 支持很多类型的卷。
6263
{{< glossary_tooltip term_id="pod" text="Pod" >}} 可以同时使用任意数目的卷类型。
6364
临时卷类型的生命周期与 Pod 相同,但持久卷可以比 Pod 的存活期长。
6465
因此,卷的存在时间会超出 Pod 中运行的所有容器,并且在容器重新启动时数据也会得到保留。
65-
当 Pod 不再存在时,卷也将不再存在
66+
当 Pod 不再存在时,临时卷也将不再存在。但是持久卷会继续存在
6667

6768
<!--
6869
At its core, a volume is just a directory, possibly with some data in it, which
@@ -179,6 +180,11 @@ spec:
179180
fsType: ext4
180181
```
181182
183+
<!--
184+
If the EBS volume is partitioned, you can supply the optional field `partition: "<partition number>"` to specify which parition to mount on.
185+
-->
186+
如果 EBS 卷是分区的,你可以提供可选的字段 `partition: "<partition number>"` 来指定要挂载到哪个分区上。
187+
182188
<!--
183189
#### AWS EBS CSI migration
184190
-->

0 commit comments

Comments
 (0)