Skip to content

Commit 06182c9

Browse files
KKtheGhostMengjiao Liuwindsonsea
committed
[zh] sync concepts/containers/image.md
Update content/zh-cn/docs/concepts/containers/images.md Co-authored-by: Mengjiao Liu <[email protected]> Co-authored-by: Michael <[email protected]>
1 parent 779ceeb commit 06182c9

File tree

1 file changed

+25
-0
lines changed
  • content/zh-cn/docs/concepts/containers

1 file changed

+25
-0
lines changed

content/zh-cn/docs/concepts/containers/images.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,31 @@ which is 300 seconds (5 minutes).
300300

301301
Kubernetes 会增加每次尝试之间的延迟,直到达到编译限制,即 300 秒(5 分钟)。
302302

303+
<!--
304+
### Image pull per runtime class
305+
-->
306+
### 基于运行时类的镜像拉取 {#image-pull-per-runtime-class}
307+
308+
{{< feature-state for_k8s_version="v1.29" state="alpha" >}}
309+
310+
<!--
311+
Kubernetes includes alpha support for performing image pulls based on the RuntimeClass of a Pod.
312+
-->
313+
Kubernetes 包含了根据 Pod 的 RuntimeClass 来执行镜像拉取的 Alpha 支持。
314+
315+
<!--
316+
If you enable the `RuntimeClassInImageCriApi` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/),
317+
the kubelet references container images by a tuple of (image name, runtime handler) rather than just the
318+
image name or digest. Your {{< glossary_tooltip text="container runtime" term_id="container-runtime" >}}
319+
may adapt its behavior based on the selected runtime handler.
320+
Pulling images based on runtime class will be helpful for VM based containers like windows hyperV containers.
321+
-->
322+
如果你启用了 `RuntimeClassInImageCriApi` [特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)
323+
kubelet 会通过一个元组(镜像名称,运行时处理程序)而不仅仅是镜像名称或镜像摘要来引用容器镜像。
324+
你的{{< glossary_tooltip text="容器运行时" term_id="container-runtime" >}}
325+
可能会根据选定的运行时处理程序调整其行为。
326+
基于运行时类来拉取镜像对于基于 VM 的容器(如 Windows Hyper-V 容器)会有帮助。
327+
303328
<!--
304329
## Serial and parallel image pulls
305330
-->

0 commit comments

Comments
 (0)