Skip to content

Commit 04348f3

Browse files
authored
Merge pull request #40995 from my-git9/path-7345
[zh-cn] sync workloads/deployment.md workloads/pods
2 parents 124f6b8 + 1d0d1ab commit 04348f3

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

content/zh-cn/docs/concepts/workloads/controllers/deployment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,9 @@ Follow the steps given below to create the above Deployment:
281281

282282
```
283283
NAME READY STATUS RESTARTS AGE LABELS
284-
nginx-deployment-75675f5897-7ci7o 1/1 Running 0 18s app=nginx,pod-template-hash=3123191453
285-
nginx-deployment-75675f5897-kzszj 1/1 Running 0 18s app=nginx,pod-template-hash=3123191453
286-
nginx-deployment-75675f5897-qqcnn 1/1 Running 0 18s app=nginx,pod-template-hash=3123191453
284+
nginx-deployment-75675f5897-7ci7o 1/1 Running 0 18s app=nginx,pod-template-hash=75675f5897
285+
nginx-deployment-75675f5897-kzszj 1/1 Running 0 18s app=nginx,pod-template-hash=75675f5897
286+
nginx-deployment-75675f5897-qqcnn 1/1 Running 0 18s app=nginx,pod-template-hash=75675f5897
287287
```
288288

289289
<!--

content/zh-cn/docs/concepts/workloads/pods/_index.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -577,18 +577,15 @@ capabilities such as manipulating the network stack or accessing hardware device
577577
{{< feature-state for_k8s_version="v1.26" state="stable" >}}
578578

579579
<!--
580-
In Windows, you can create a [Windows HostProcess pod](/docs/tasks/configure-pod-container/create-hostprocess-pod)
581-
by setting the `windowsOptions.hostProcess` flag on the security context of the pod spec. All containers in these
580+
In Windows, you can create a [Windows HostProcess pod](/docs/tasks/configure-pod-container/create-hostprocess-pod) by setting the
581+
`windowsOptions.hostProcess` flag on the security context of the pod spec. All containers in these
582582
pods must run as Windows HostProcess containers. HostProcess pods run directly on the host and can also be used
583-
to perform administrative tasks as is done with Linux privileged containers. In order to use this feature, the
584-
`WindowsHostProcessContainers` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) must be enabled.
583+
to perform administrative tasks as is done with Linux privileged containers.
585584
-->
586585
在 Windows 中,你可以使用 Pod 规约中安全上下文的 `windowsOptions.hostProcess` 参数来创建
587586
[Windows HostProcess Pod](/zh-cn/docs/tasks/configure-pod-container/create-hostprocess-pod/)
588587
这些 Pod 中的所有容器都必须以 Windows HostProcess 容器方式运行。
589588
HostProcess Pod 可以直接运行在主机上,它也能像 Linux 特权容器一样,用于执行管理任务。
590-
想要使用此特性,`WindowsHostProcessContainers`
591-
[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)必须被启用。
592589

593590
<!--
594591
## Static Pods

0 commit comments

Comments
 (0)