Merge pull request #32217 from my-git9/patch-54

[zh] Update create-hostprocess-pod.md
This commit is contained in:
Kubernetes Prow Robot
2022-03-11 21:28:23 -08:00
committed by GitHub
@@ -46,7 +46,7 @@ as Windows server containers, meaning that the version of the base images does n
to match that of the host. It is, however, recommended that you use the same base image to match that of the host. It is, however, recommended that you use the same base image
version as your Windows Server container workloads to ensure you do not have any unused version as your Windows Server container workloads to ensure you do not have any unused
images taking up space on the node. HostProcess containers also support images taking up space on the node. HostProcess containers also support
[volume mounts](./create-hostprocess-pod#volume-mounts) within the container volume. [volume mounts](#volume-mounts) within the container volume.
--> -->
类似于安装安全补丁、事件日志收集等这类管理性质的任务可以在不需要集群操作员登录到每个 类似于安装安全补丁、事件日志收集等这类管理性质的任务可以在不需要集群操作员登录到每个
Windows 节点的前提下执行。HostProcess 容器可以以主机上存在的任何用户账户来运行, Windows 节点的前提下执行。HostProcess 容器可以以主机上存在的任何用户账户来运行,
@@ -58,7 +58,7 @@ Windows 节点的前提下执行。HostProcess 容器可以以主机上存在的
这意味着基础镜像的版本不必与主机操作系统的版本匹配。 这意味着基础镜像的版本不必与主机操作系统的版本匹配。
不过,仍然建议你像使用 Windows 服务器容器负载那样,使用相同的基础镜像版本, 不过,仍然建议你像使用 Windows 服务器容器负载那样,使用相同的基础镜像版本,
这样你就不会有一些未使用的镜像占用节点上的存储空间。HostProcess 容器也支持 这样你就不会有一些未使用的镜像占用节点上的存储空间。HostProcess 容器也支持
在容器卷内执行[卷挂载](./create-hostprocess-pod#volume-mounts)。 在容器卷内执行[卷挂载](#volume-mounts)。
<!-- <!--
### When should I use a Windows HostProcess container? ### When should I use a Windows HostProcess container?
@@ -145,7 +145,8 @@ filesystem or Hyper-V isolation are supported for HostProcess containers.
用户账号所实施的资源约束外,不提供任何形式的隔离。HostProcess 容器不支持文件系统或 用户账号所实施的资源约束外,不提供任何形式的隔离。HostProcess 容器不支持文件系统或
Hyper-V 隔离。 Hyper-V 隔离。
<!-- <!--
- Volume mounts are supported and are mounted under the container volume. See [Volume Mounts](#volume-mounts) - Volume mounts are supported and are mounted under the container volume. See
[Volume Mounts](#volume-mounts)
- A limited set of host user accounts are available for HostProcess containers by default. - A limited set of host user accounts are available for HostProcess containers by default.
See [Choosing a User Account](#choosing-a-user-account). See [Choosing a User Account](#choosing-a-user-account).
- Resource limits (disk, memory, cpu count) are supported in the same fashion as processes - Resource limits (disk, memory, cpu count) are supported in the same fashion as processes