File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
content/zh-cn/docs/concepts/containers Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -300,6 +300,31 @@ which is 300 seconds (5 minutes).
300
300
301
301
Kubernetes 会增加每次尝试之间的延迟,直到达到编译限制,即 300 秒(5 分钟)。
302
302
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
+
303
328
<!--
304
329
## Serial and parallel image pulls
305
330
-->
You can’t perform that action at this time.
0 commit comments