@@ -38,16 +38,15 @@ This guide walks you through the steps to configure and deploy Windows container
38
38
<!--
39
39
## Before you begin
40
40
41
- * Create a Kubernetes cluster that includes a
42
- control plane and a [worker node running Windows Server](/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/)
41
+ * Create a Kubernetes cluster that includes a control plane and a worker node running Windows Server
43
42
* It is important to note that creating and deploying services and workloads on Kubernetes
44
- behaves in much the same way for Linux and Windows containers.
45
- [Kubectl commands](/docs/reference/kubectl/) to interface with the cluster are identical.
46
- The example in the section below is provided to jumpstart your experience with Windows containers.
43
+ behaves in much the same way for Linux and Windows containers.
44
+ [Kubectl commands](/docs/reference/kubectl/) to interface with the cluster are identical.
45
+ The example in the section below is provided to jumpstart your experience with Windows containers.
47
46
-->
48
47
## 在你开始之前 {#before-you-begin}
49
48
50
- * 创建一个 Kubernetes 集群,其中包含一个控制平面和一个 [ 运行 Windows Server 的工作节点] ( /zh-cn/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/ )
49
+ * 创建一个 Kubernetes 集群,其中包含一个控制平面和一个运行 Windows Server 的工作节点。
51
50
* 务必请注意,在 Kubernetes 上创建和部署服务和工作负载的行为方式与 Linux 和 Windows 容器的行为方式大致相同。
52
51
与集群交互的 [ kubectl 命令] ( /zh-cn/docs/reference/kubectl/ ) 是一致的。
53
52
下一小节的示例旨在帮助你快速开始使用 Windows 容器。
@@ -164,7 +163,7 @@ port 80 of the container directly to the Service.
164
163
命令进入容器,并在 Pod 之间(以及跨主机,如果你有多个 Windows 节点)相互进行 ping 操作。
165
164
* Service 到 Pod 的通信,在 Linux 控制平面所在的节点以及独立的 Pod 中执行 ` curl `
166
165
命令来访问虚拟的服务 IP(在 ` kubectl get services ` 命令下查看)。
167
- * 服务发现,执行 ` curl ` 命令来访问带有 Kubernetes
166
+ * 服务发现,执行 ` curl ` 命令来访问带有 Kubernetes
168
167
[ 默认 DNS 后缀] ( /zh-cn/docs/concepts/services-networking/dns-pod-service/#services ) 的服务名称。
169
168
* 入站连接,在 Linux 控制平面所在的节点上或集群外的机器上执行 ` curl ` 命令来访问 NodePort 服务。
170
169
* 出站连接,使用 ` kubectl exec ` ,从 Pod 内部执行 ` curl ` 访问外部 IP。
@@ -242,7 +241,8 @@ Windows 容器工作负载可以配置为使用组托管服务帐户(Group Man
242
241
组托管服务帐户是一种特定类型的活动目录(Active Directory)帐户,可提供自动密码管理、
243
242
简化的服务主体名称(Service Principal Name,SPN)管理,以及将管理委派给多个服务器上的其他管理员的能力。
244
243
配置了 GMSA 的容器可以携带使用 GMSA 配置的身份访问外部活动目录域资源。
245
- 在[ 此处] ( /zh-cn/docs/tasks/configure-pod-container/configure-gmsa/ ) 了解有关为 Windows 容器配置和使用 GMSA 的更多信息。
244
+ 在[ 此处] ( /zh-cn/docs/tasks/configure-pod-container/configure-gmsa/ ) 了解有关为 Windows
245
+ 容器配置和使用 GMSA 的更多信息。
246
246
247
247
<!--
248
248
## Taints and Tolerations
0 commit comments