File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
content/zh/docs/concepts/storage Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -56,13 +56,14 @@ can use any number of volume types simultaneously.
56
56
Ephemeral volume types have a lifetime of a pod, but persistent volumes exist beyond
57
57
the lifetime of a pod. Consequently, a volume outlives any containers
58
58
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.
60
61
-->
61
62
Kubernetes 支持很多类型的卷。
62
63
{{< glossary_tooltip term_id="pod" text="Pod" >}} 可以同时使用任意数目的卷类型。
63
64
临时卷类型的生命周期与 Pod 相同,但持久卷可以比 Pod 的存活期长。
64
65
因此,卷的存在时间会超出 Pod 中运行的所有容器,并且在容器重新启动时数据也会得到保留。
65
- 当 Pod 不再存在时,卷也将不再存在 。
66
+ 当 Pod 不再存在时,临时卷也将不再存在。但是持久卷会继续存在 。
66
67
67
68
<!--
68
69
At its core, a volume is just a directory, possibly with some data in it, which
@@ -179,6 +180,11 @@ spec:
179
180
fsType : ext4
180
181
` ` `
181
182
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
+
182
188
<!--
183
189
#### AWS EBS CSI migration
184
190
-->
You can’t perform that action at this time.
0 commit comments