Skip to content

Commit

Permalink
[zh-cn] sync task files of task-8
Browse files Browse the repository at this point in the history
Signed-off-by: Guangwen Feng <fenggw-fnst@fujitsu.com>
  • Loading branch information
fenggw-fnst committed Mar 17, 2023
1 parent e9bfdf6 commit abcba5c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
8 changes: 7 additions & 1 deletion content/zh-cn/docs/tasks/configure-pod-container/_index.md
Original file line number Diff line number Diff line change
@@ -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
-->
Original file line number Diff line number Diff line change
@@ -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 -->
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
```
Expand Down
Original file line number Diff line number Diff line change
@@ -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 -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 在 Pod 中的容器之间共享进程命名空间
content_type: task
weight: 160
weight: 200
---
<!--
---
Expand All @@ -11,7 +11,7 @@ reviewers:
- yujuhong
- dchen1107
content_type: task
weight: 160
weight: 200
---
-->

Expand Down

0 comments on commit abcba5c

Please sign in to comment.