Skip to content

Commit abcba5c

Browse files
committed
[zh-cn] sync task files of task-8
Signed-off-by: Guangwen Feng <[email protected]>
1 parent e9bfdf6 commit abcba5c

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
---
22
title: "配置 Pods 和容器"
3-
weight: 20
3+
weight: 30
44
description: 对 Pod 和容器执行常见的配置任务。
55
---
6+
7+
<!--
8+
title: "Configure Pods and Containers"
9+
description: Perform common configuration tasks for Pods and containers.
10+
weight: 30
11+
-->

content/zh-cn/docs/tasks/configure-pod-container/assign-pods-nodes.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: 将 Pod 分配给节点
33
content_type: task
4-
weight: 120
4+
weight: 150
55
---
66
<!--
77
title: Assign Pods to Nodes
88
content_type: task
9-
weight: 120
9+
weight: 150
1010
-->
1111

1212
<!-- overview -->
@@ -41,7 +41,7 @@ Kubernetes cluster.
4141
-->
4242
输出类似如下:
4343

44-
```
44+
```shell
4545
NAME STATUS ROLES AGE VERSION LABELS
4646
worker0 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker0
4747
worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1
@@ -76,7 +76,7 @@ Kubernetes cluster.
7676
-->
7777
输出类似如下:
7878

79-
```
79+
```shell
8080
NAME STATUS ROLES AGE VERSION LABELS
8181
worker0 Ready <none> 1d v1.13.0 ...,disktype=ssd,kubernetes.io/hostname=worker0
8282
worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1
@@ -126,7 +126,7 @@ a `disktype=ssd` label.
126126
-->
127127
输出类似如下:
128128

129-
```
129+
```shell
130130
NAME READY STATUS RESTARTS AGE IP NODE
131131
nginx 1/1 Running 0 13s 10.200.0.4 worker0
132132
```

content/zh-cn/docs/tasks/configure-pod-container/configure-runasusername.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
title: 为 Windows 的 Pod 和容器配置 RunAsUserName
33
content_type: task
4-
weight: 20
4+
weight: 40
55
---
66

77
<!--
88
title: Configure RunAsUserName for Windows pods and containers
99
content_type: task
10-
weight: 20
10+
weight: 40
1111
-->
1212

1313
<!-- overview -->

content/zh-cn/docs/tasks/configure-pod-container/share-process-namespace.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 在 Pod 中的容器之间共享进程命名空间
33
content_type: task
4-
weight: 160
4+
weight: 200
55
---
66
<!--
77
---
@@ -11,7 +11,7 @@ reviewers:
1111
- yujuhong
1212
- dchen1107
1313
content_type: task
14-
weight: 160
14+
weight: 200
1515
---
1616
-->
1717

0 commit comments

Comments
 (0)