@@ -152,6 +152,7 @@ Kubernetes 关键组件在 Windows 上的工作方式与在 Linux 上相同。
152
152
* `emptyDir` volumes
153
153
* Named pipe host mounts
154
154
* Resource limits
155
+ * OS field:
155
156
-->
156
157
* 每个 Pod 有一个或多个容器,具有进程隔离和卷共享能力
157
158
* Pod ` status ` 字段
@@ -161,19 +162,17 @@ Kubernetes 关键组件在 Windows 上的工作方式与在 Linux 上相同。
161
162
* ` emptyDir ` 卷
162
163
* 命名管道形式的主机挂载
163
164
* 资源限制
164
- <!--
165
- * OS field:
166
-
167
- The `.spec.os.name` field should be set to `windows` to indicate that the current Pod uses Windows containers.
168
- -->
169
165
* 操作系统字段:
170
166
171
- ` .spec.os.name ` 字段应设置为 ` windows ` 以表明当前 Pod 使用 Windows 容器。
172
-
173
167
<!--
168
+ The `.spec.os.name` field should be set to `windows` to indicate that the current Pod uses Windows containers.
169
+
174
170
If you set the `.spec.os.name` field to `windows`,
175
171
you must not set the following fields in the `.spec` of that Pod:
176
172
-->
173
+
174
+ ` .spec.os.name ` 字段应设置为 ` windows ` 以表明当前 Pod 使用 Windows 容器。
175
+
177
176
如果你将 ` .spec.os.name ` 字段设置为 ` windows ` ,
178
177
则你必须不能在对应 Pod 的 ` .spec ` 中设置以下字段:
179
178
@@ -204,6 +203,7 @@ Kubernetes 关键组件在 Windows 上的工作方式与在 Linux 上相同。
204
203
for all containers. If any of these fields is specified, the Pod will
205
204
not be admitted by the API server.
206
205
-->
206
+
207
207
在上述列表中,通配符(` * ` )表示列表中的所有项。
208
208
例如,` spec.containers[*].securityContext ` 指代所有容器的 SecurityContext 对象。
209
209
如果指定了这些字段中的任意一个,则 API 服务器不会接受此 Pod。
@@ -581,20 +581,16 @@ The following container runtimes work with Windows:
581
581
582
582
{{% thirdparty-content %}}
583
583
584
- <!--
585
584
### ContainerD
586
585
587
586
{{< feature-state for_k8s_version="v1.20" state="stable" >}}
588
587
588
+ <!--
589
589
You can use {{< glossary_tooltip term_id="containerd" text="ContainerD" >}} 1.4.0+
590
590
as the container runtime for Kubernetes nodes that run Windows.
591
591
592
592
Learn how to [install ContainerD on a Windows node](/docs/setup/production-environment/container-runtimes/#containerd).
593
593
-->
594
- ### ContainerD
595
-
596
- {{< feature-state for_k8s_version="v1.20" state="stable" >}}
597
-
598
594
对于运行 Windows 的 Kubernetes 节点,你可以使用
599
595
{{< glossary_tooltip term_id="containerd" text="ContainerD" >}} 1.4.0+ 作为容器运行时。
600
596
@@ -644,12 +640,20 @@ is as follows:
644
640
645
641
对于 Kubernetes v{{< skew currentVersion >}},Windows 节点(和 Pod)的操作系统兼容性如下:
646
642
643
+ <!--
647
644
Windows Server LTSC release
648
645
: Windows Server 2019
649
646
: Windows Server 2022
650
647
651
648
Windows Server SAC release
652
- : Windows Server version 20H2
649
+ : Windows Server version 20H2
650
+ -->
651
+ Windows Server LTSC(长期服务渠道)版本
652
+ : Windows Server 2019
653
+ : Windows Server 2022
654
+
655
+ Windows Server SAC(半年渠道)版本
656
+ : Windows Server 版本 20H2
653
657
654
658
<!--
655
659
The Kubernetes [version-skew policy](/docs/setup/release/version-skew-policy/) also applies.
@@ -776,7 +780,6 @@ It can be used to validate all the functionalities of a Windows and hybrid syste
776
780
To set up the project on a newly created cluster, refer to the instructions in the
777
781
[project guide](https://github.com/kubernetes-sigs/windows-operational-readiness/blob/main/README.md).
778
782
-->
779
-
780
783
### 验证 Windows 集群的操作性 {#validating-windows-cluster-operability}
781
784
782
785
Kubernetes 项目提供了 ** Windows 操作准备** 规范,配备了结构化的测试套件。
@@ -786,7 +789,6 @@ Kubernetes 项目提供了 **Windows 操作准备**规范,配备了结构化
786
789
要在新创建的集群上搭建此项目,
787
790
请参考[ 项目指南] ( https://github.com/kubernetes-sigs/windows-operational-readiness/blob/main/README.md ) 中的说明。
788
791
789
-
790
792
<!--
791
793
## Deployment tools
792
794
0 commit comments