File tree Expand file tree Collapse file tree 1 file changed +18
-6
lines changed
content/zh-cn/docs/concepts/storage Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -470,15 +470,27 @@ overlays), the `emptyDir` may run out of capacity before this limit.
470
470
471
471
{{< note >}}
472
472
<!--
473
- If the `SizeMemoryBackedVolumes` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) is enabled,
474
- you can specify a size for memory backed volumes. If no size is specified, memory
475
- backed volumes are sized to node allocatable memory.
473
+ You can specify a size for memory backed volumes, provided that the `SizeMemoryBackedVolumes`
474
+ [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
475
+ is enabled in your cluster (this has been beta, and active by default, since the Kubernetes 1.22 release).
476
+ If you don't specify a volume size, memory backed volumes are sized to node allocatable memory.
476
477
-->
477
- 当启用 `SizeMemoryBackedVolumes` [特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)时,
478
- 你可以为基于内存提供的卷指定大小。
479
- 如果未指定大小,内存提供的卷的大小根据节点可分配内存进行调整。
478
+ 你可以指定内存作为介质的卷的大小,前提是集群中启用了 `SizeMemoryBackedVolumes`
479
+ [特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)
480
+ (自 Kubernetes 1.22 发布以来,此特性一直处于 Beta 阶段,并且默认启用)。
481
+ 如果你未指定大小,内存作为介质的卷的大小根据节点可分配内存进行调整。
480
482
{{< /note>}}
481
483
484
+ {{< caution >}}
485
+ <!--
486
+ Please check [here](/docs/concepts/configuration/manage-resources-containers/#memory-backed-emptydir)
487
+ for points to note in terms of resource management when using memory-backed `emptyDir`.
488
+ -->
489
+ 使用内存作为介质的 `emptyDir` 卷时,
490
+ 请查阅[此处](/zh-cn/docs/concepts/configuration/manage-resources-containers/#memory-backed-emptydir),
491
+ 了解有关资源管理方面的注意事项。
492
+ {{< /caution >}}
493
+
482
494
<!--
483
495
# ### emptyDir configuration example
484
496
-->
You can’t perform that action at this time.
0 commit comments