[zh-cn] sync task files of task-8

Signed-off-by: Guangwen Feng <fenggw-fnst@fujitsu.com>
pull/40078/head
Guangwen Feng 2023-03-17 15:49:04 +08:00
parent e9bfdf6016
commit abcba5ce57
4 changed files with 16 additions and 10 deletions

View File

@ -1,5 +1,11 @@
---
title: "配置 Pods 和容器"
weight: 20
weight: 30
description: 对 Pod 和容器执行常见的配置任务。
---
<!--
title: "Configure Pods and Containers"
description: Perform common configuration tasks for Pods and containers.
weight: 30
-->

View File

@ -1,12 +1,12 @@
---
title: 将 Pod 分配给节点
content_type: task
weight: 120
weight: 150
---
<!--
title: Assign Pods to Nodes
content_type: task
weight: 120
weight: 150
-->
<!-- overview -->
@ -41,7 +41,7 @@ Kubernetes cluster.
-->
输出类似如下:
```
```shell
NAME STATUS ROLES AGE VERSION LABELS
worker0 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker0
worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1
@ -76,7 +76,7 @@ Kubernetes cluster.
-->
输出类似如下:
```
```shell
NAME STATUS ROLES AGE VERSION LABELS
worker0 Ready <none> 1d v1.13.0 ...,disktype=ssd,kubernetes.io/hostname=worker0
worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1
@ -126,7 +126,7 @@ a `disktype=ssd` label.
-->
输出类似如下:
```
```shell
NAME READY STATUS RESTARTS AGE IP NODE
nginx 1/1 Running 0 13s 10.200.0.4 worker0
```

View File

@ -1,13 +1,13 @@
---
title: 为 Windows 的 Pod 和容器配置 RunAsUserName
content_type: task
weight: 20
weight: 40
---
<!--
title: Configure RunAsUserName for Windows pods and containers
content_type: task
weight: 20
weight: 40
-->
<!-- overview -->

View File

@ -1,7 +1,7 @@
---
title: 在 Pod 中的容器之间共享进程命名空间
content_type: task
weight: 160
weight: 200
---
<!--
---
@ -11,7 +11,7 @@ reviewers:
- yujuhong
- dchen1107
content_type: task
weight: 160
weight: 200
---
-->