File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
content/zh-cn/docs/concepts/workloads Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -281,9 +281,9 @@ Follow the steps given below to create the above Deployment:
281
281
282
282
```
283
283
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
287
287
```
288
288
289
289
<!--
Original file line number Diff line number Diff line change @@ -577,18 +577,15 @@ capabilities such as manipulating the network stack or accessing hardware device
577
577
{{< feature-state for_k8s_version="v1.26" state="stable" >}}
578
578
579
579
<!--
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
582
582
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.
585
584
-->
586
585
在 Windows 中,你可以使用 Pod 规约中安全上下文的 ` windowsOptions.hostProcess ` 参数来创建
587
586
[ Windows HostProcess Pod] ( /zh-cn/docs/tasks/configure-pod-container/create-hostprocess-pod/ ) 。
588
587
这些 Pod 中的所有容器都必须以 Windows HostProcess 容器方式运行。
589
588
HostProcess Pod 可以直接运行在主机上,它也能像 Linux 特权容器一样,用于执行管理任务。
590
- 想要使用此特性,` WindowsHostProcessContainers `
591
- [ 特性门控] ( /zh-cn/docs/reference/command-line-tools-reference/feature-gates/ ) 必须被启用。
592
589
593
590
<!--
594
591
## Static Pods
You can’t perform that action at this time.
0 commit comments