Skip to content

Commit 6bc04d2

Browse files
authored
Merge pull request #51300 from windsonsea/wintro
[zh] Sync windows/intro.md
2 parents 27d8539 + 177cb0d commit 6bc04d2

File tree

1 file changed

+17
-15
lines changed
  • content/zh-cn/docs/concepts/windows

1 file changed

+17
-15
lines changed

content/zh-cn/docs/concepts/windows/intro.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ Kubernetes 关键组件在 Windows 上的工作方式与在 Linux 上相同。
152152
* `emptyDir` volumes
153153
* Named pipe host mounts
154154
* Resource limits
155+
* OS field:
155156
-->
156157
* 每个 Pod 有一个或多个容器,具有进程隔离和卷共享能力
157158
* Pod `status` 字段
@@ -161,19 +162,17 @@ Kubernetes 关键组件在 Windows 上的工作方式与在 Linux 上相同。
161162
* `emptyDir`
162163
* 命名管道形式的主机挂载
163164
* 资源限制
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-
-->
169165
* 操作系统字段:
170166

171-
`.spec.os.name` 字段应设置为 `windows` 以表明当前 Pod 使用 Windows 容器。
172-
173167
<!--
168+
The `.spec.os.name` field should be set to `windows` to indicate that the current Pod uses Windows containers.
169+
174170
If you set the `.spec.os.name` field to `windows`,
175171
you must not set the following fields in the `.spec` of that Pod:
176172
-->
173+
174+
`.spec.os.name` 字段应设置为 `windows` 以表明当前 Pod 使用 Windows 容器。
175+
177176
如果你将 `.spec.os.name` 字段设置为 `windows`
178177
则你必须不能在对应 Pod 的 `.spec` 中设置以下字段:
179178

@@ -204,6 +203,7 @@ Kubernetes 关键组件在 Windows 上的工作方式与在 Linux 上相同。
204203
for all containers. If any of these fields is specified, the Pod will
205204
not be admitted by the API server.
206205
-->
206+
207207
在上述列表中,通配符(`*`)表示列表中的所有项。
208208
例如,`spec.containers[*].securityContext` 指代所有容器的 SecurityContext 对象。
209209
如果指定了这些字段中的任意一个,则 API 服务器不会接受此 Pod。
@@ -581,20 +581,16 @@ The following container runtimes work with Windows:
581581

582582
{{% thirdparty-content %}}
583583

584-
<!--
585584
### ContainerD
586585

587586
{{< feature-state for_k8s_version="v1.20" state="stable" >}}
588587

588+
<!--
589589
You can use {{< glossary_tooltip term_id="containerd" text="ContainerD" >}} 1.4.0+
590590
as the container runtime for Kubernetes nodes that run Windows.
591591
592592
Learn how to [install ContainerD on a Windows node](/docs/setup/production-environment/container-runtimes/#containerd).
593593
-->
594-
### ContainerD
595-
596-
{{< feature-state for_k8s_version="v1.20" state="stable" >}}
597-
598594
对于运行 Windows 的 Kubernetes 节点,你可以使用
599595
{{< glossary_tooltip term_id="containerd" text="ContainerD" >}} 1.4.0+ 作为容器运行时。
600596

@@ -644,12 +640,20 @@ is as follows:
644640

645641
对于 Kubernetes v{{< skew currentVersion >}},Windows 节点(和 Pod)的操作系统兼容性如下:
646642

643+
<!--
647644
Windows Server LTSC release
648645
: Windows Server 2019
649646
: Windows Server 2022
650647
651648
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
653657

654658
<!--
655659
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
776780
To set up the project on a newly created cluster, refer to the instructions in the
777781
[project guide](https://github.com/kubernetes-sigs/windows-operational-readiness/blob/main/README.md).
778782
-->
779-
780783
### 验证 Windows 集群的操作性 {#validating-windows-cluster-operability}
781784

782785
Kubernetes 项目提供了 **Windows 操作准备**规范,配备了结构化的测试套件。
@@ -786,7 +789,6 @@ Kubernetes 项目提供了 **Windows 操作准备**规范,配备了结构化
786789
要在新创建的集群上搭建此项目,
787790
请参考[项目指南](https://github.com/kubernetes-sigs/windows-operational-readiness/blob/main/README.md)中的说明。
788791

789-
790792
<!--
791793
## Deployment tools
792794

0 commit comments

Comments
 (0)